EvotecIT/Testimo

Group Policy SysvolDC checking for non-existent property

jwmoss opened this issue · 2 comments

While running this for the first time, I discovered an issue which may stem from Get-GPOZaurrSysvol.

In line 7 of GroupPolicySysVolDC, you're checking for SysvolStatus property:

Get-GPOZaurrSysvol -IncludeDomains $Domain -IncludeDomainControllers $DomainController -VerifyDomainControllers | Where-Object { $_.SysvolStatus -ne 'Exists' -or $_.Status -ne 'Exists' }

But the property doesn't exist.

image

Which returns a false negative

image

Ye, it seems I've rewritten Get-GPOZaurrSysVol in GPOZaurr without updating Testimo. Thanks for noticing.

Ye, it seems I've rewritten Get-GPOZaurrSysVol in GPOZaurr without updating Testimo. Thanks for noticing.

Sure thing!