This commit is contained in:
Przemyslaw Klys
2020-12-05 23:33:58 +01:00
parent 2ad0701725
commit 2ae6731780
2 changed files with 37 additions and 12 deletions
-11
View File
@@ -105,17 +105,6 @@
Write-Warning "Optimize-GPOZaurr - GPO ($($GPO.DisplayName)) / $($GPO.DomainName)) is not optimized, but GPO is marked as one with problem. Skipping."
}
}
<#
if ($GPO.UserSettingsAvailable -eq $false -and $GPO.ComputerSettingsAvailable -eq $false) {
if ($GPO.Enabled -ne 'All setttings disabled') {
# $GPO
}
} elseif ($GPO.UserSettingsAvailable -eq $false) {
} elseif ($GPO.ComputerSettingsAvailable -eq $false) {
}
#>
}
}
}