mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-08-09 18:29:40 +00:00
21 lines
769 B
PowerShell
21 lines
769 B
PowerShell
Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
|
|
|
|
# Use Save-GPOZaurrFiles -GPOPath $ENV:USERPROFILE\Desktop\GPOExport
|
|
|
|
$Output = Find-GPO -GPOPath 'C:\Support\GitHub\GpoZaurr\Ignore\GPOExportTest'
|
|
$Output | Format-Table
|
|
|
|
New-HTML {
|
|
foreach ($GPOCategory in $Output.Keys) {
|
|
New-HTMLTab -Name $GPOCategory {
|
|
foreach ($GpoSettings in $Output.$GPOCategory.Keys) {
|
|
New-HTMLTab -Name $GpoSettings {
|
|
New-HTMLTable -DataTable $Output[$GPOCategory][$GpoSettings] -ScrollX -DisablePaging -AllProperties -Title $Key
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} -Online -ShowHTML -FilePath $Env:UserProfile\Desktop\OutputFromFindGPO.html
|
|
|
|
|
|
#Select-Properties -AllProperties -Objects $Output.SecuritySettings |