EvotecIT / Testimo

Testimo is a PowerShell module for running health checks for Active Directory against a bunch of different tests
547 stars 58 forks source link

Test "Group Policy SYSVOL Verification" references invalid option for Get-WinADGPOSysvolFolders #83

Closed pmormr closed 4 years ago

pmormr commented 4 years ago

In testimo.psm1

Test "Group Policy SYSVOL Verification" is failing, unable to find reference to "ComputerName".

Looks like it was intended to be "DomainControllers", not "ComputerName"

Get-WinADGPOSysvolFolders -Domain $Domain -DomainControllers $DomainController | Where-Object { $_.SysvolStatus -ne 'Exists' }

Seems to work as designed.

pmormr commented 4 years ago

Code snippet above was around line 1322 in testimo.psm1

PrzemyslawKlys commented 4 years ago

Update-module Testimo

It should be fixed. I've reworked commands from the ADEssentials module last week and forgot I have to release/recheck Testimo. It's part of a larger update to Testimo where you will be able to really ignore servers/domains. Right now excluding / including servers in testimo is crippled. In new version, it will be much easier.