This commit is contained in:
Przemyslaw Klys
2020-11-05 19:21:00 +01:00
parent e00c93b798
commit fab33b8d14
8 changed files with 33 additions and 44 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
$GPOZaurrAnalysis = [ordered] @{
Name = 'GPO Permissions Consistency'
Name = 'Group Policy Content'
Enabled = $true
Data = $null
Execute = {
$GPOContent = Invoke-GPOZaurrContent
Invoke-GPOZaurrContent
}
Processing = {
@@ -15,9 +15,9 @@
}
Solution = {
foreach ($Key in $GPOContent.Keys) {
foreach ($Key in $GPOZaurrAnalysis['Data'].Keys) {
New-HTMLTab -Name $Key {
New-HTMLTable -DataTable $GPOContent[$Key] -Filtering -Title $Key
New-HTMLTable -DataTable $GPOZaurrAnalysis['Data'][$Key] -Filtering -Title $Key
}
}
}
+4 -4
View File
@@ -1,10 +1,10 @@
$GPOZaurrFiles = [ordered] @{
Name = 'GPO Permissions Consistency'
Name = 'SYSVOL (NetLogon) Files List'
Enabled = $true
Data = $null
Execute = {
$GPOFiles = Get-GPOZaurrFiles
}
Get-GPOZaurrFiles
}
Processing = {
}
@@ -15,6 +15,6 @@
}
Solution = {
New-HTMLTable -DataTable $GPOFiles -Filtering
New-HTMLTable -DataTable $GPOZaurrFiles['Data'] -Filtering
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
$GPOZaurrOrphans = [ordered] @{
Name = 'Orphaned GPO (SysVol or Active Directory)'
Name = 'Orphaned Group Policies'
Enabled = $true
Data = $null
Execute = {
+1 -1
View File
@@ -1,5 +1,5 @@
$GPOZaurrOwners = [ordered] @{
Name = 'GPO Owners'
Name = 'Group Policy Owners'
Enabled = $true
Data = $null
Execute = { Get-GPOZaurrOwner -IncludeSysvol }
+3 -4
View File
@@ -1,10 +1,9 @@
$GPOZaurrPermissions = [ordered] @{
Name = 'GPO Permissions'
Name = 'Group Policy Permissions'
Enabled = $true
Data = $null
Execute = {
$GPOPermissions = Get-GPOZaurrPermission -Type All -IncludePermissionType GpoEditDeleteModifySecurity, GpoEdit, GpoCustom -IncludeOwner
Get-GPOZaurrPermission -Type All -IncludePermissionType GpoEditDeleteModifySecurity, GpoEdit, GpoCustom #-IncludeOwner
}
Processing = {
@@ -16,6 +15,6 @@
}
Solution = {
New-HTMLTable -DataTable $GPOZaurrPermissions['Data'] -Filtering
}
}
+4 -4
View File
@@ -1,10 +1,10 @@
$GPOZaurrPermissionsRoot = [ordered] @{
Name = 'GPO Permissions Consistency'
Name = 'Group Policies Root Permissions'
Enabled = $true
Data = $null
Execute = {
$GPOPermissionsRoot = Get-GPOZaurrPermissionRoot -SkipNames
}
Get-GPOZaurrPermissionRoot -SkipNames
}
Processing = {
}
@@ -15,6 +15,6 @@
}
Solution = {
New-HTMLTable -DataTable $GPOPermissionsRoot -Filtering
New-HTMLTable -DataTable $GPOZaurrPermissionsRoot['Data'] -Filtering
}
}
+3 -3
View File
@@ -3,8 +3,8 @@
Enabled = $false
Data = $null
Execute = {
$ADMLegacyFiles = Get-GPOZaurrLegacyFiles
}
Get-GPOZaurrLegacyFiles
}
Processing = {
}
@@ -15,6 +15,6 @@
}
Solution = {
New-HTMLTable -DataTable $GPOZaurrSysVolLegacyFiles['Data'] -Filtering
}
}