This commit is contained in:
Przemyslaw Klys
2020-11-18 21:37:20 +01:00
parent 807ea420b0
commit 63ab1b571d
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -96,7 +96,7 @@
}
}
# Now we need to list thru Sysvol files and fine those that do not exists as GPO and create dummy GPO objects to show orphaned gpos
Write-Verbose "Get-GPOZaurrBroken - Processing SYSVOL differences and creating dummy objects"
Write-Verbose "Get-GPOZaurrBroken - Processing SYSVOL differences"
foreach ($_ in $Differences.Keys) {
if ($Differences[$_] -in 'Not available in AD', 'Permissions issue') {
$FullPath = $SysvolHash[$_].FullName