Disabled tests that are deprecated

This commit is contained in:
Przemyslaw Klys
2022-07-27 12:41:07 +02:00
parent 4781b91e23
commit 9929d827f5
5 changed files with 4 additions and 9 deletions
@@ -1,6 +1,6 @@
$GPOZaurrPermissionsAdministrative = [ordered] @{
Name = 'Group Policy Administrative Permissions'
Enabled = $true
Enabled = $false
Action = $null
Data = $null
Execute = {
+1 -1
View File
@@ -1,6 +1,6 @@
$GPOZaurrPermissionsRead = [ordered] @{
Name = 'Group Policy Authenticated Users Permissions'
Enabled = $true
Enabled = $false
Action = $null
Data = $null
Execute = {
+1 -1
View File
@@ -1,6 +1,6 @@
$GPOZaurrPermissionsRoot = [ordered] @{
Name = 'Group Policies Root Permissions'
Enabled = $true
Enabled = $false
Action = $null
Data = $null
Execute = {
@@ -1,6 +1,6 @@
$GPOZaurrPermissionsUnknown = [ordered] @{
Name = 'Group Policy Unknown Permissions'
Enabled = $true
Enabled = $false
Action = $null
Data = $null
Execute = {
-5
View File
@@ -121,11 +121,6 @@
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