mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-07-26 11:49:17 +00:00
Disable deprecated reports if user doesn't ask for them
This commit is contained in:
@@ -121,6 +121,11 @@
|
||||
foreach ($T in $Type) {
|
||||
$Script:GPOConfiguration[$T].Enabled = $true
|
||||
}
|
||||
} else {
|
||||
# User didn't choose any types, so we need to exclude types that are deprecated
|
||||
foreach ($T in @('GPOPermissionsAdministrative', 'GPOPermissionsRead', 'GPOPermissionsRoot', 'GPOPermissionsUnknown')) {
|
||||
$Script:GPOConfiguration[$T].Enabled = $false
|
||||
}
|
||||
}
|
||||
|
||||
# Build data
|
||||
|
||||
Reference in New Issue
Block a user