mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-07-26 11:49:17 +00:00
15 lines
570 B
PowerShell
15 lines
570 B
PowerShell
Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
|
|
|
|
$Output = Invoke-GPOZaurr #-NoTranslation
|
|
|
|
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 |