Group Policy SysvolDC checking for non-existent property
jwmoss opened this issue · 2 comments
jwmoss commented
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.
Which returns a false negative
PrzemyslawKlys commented
Ye, it seems I've rewritten Get-GPOZaurrSysVol in GPOZaurr without updating Testimo. Thanks for noticing.
jwmoss commented
Ye, it seems I've rewritten Get-GPOZaurrSysVol in GPOZaurr without updating Testimo. Thanks for noticing.
Sure thing!