mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-07-26 11:49:17 +00:00
17 lines
602 B
PowerShell
17 lines
602 B
PowerShell
Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
|
|
|
|
# This gets the same thing as earlier examples
|
|
# with a difference where one entry per gpo and all settings for that GPO is stored under settings property.
|
|
#$Output = Invoke-GPOZaurrContent -Verbose #-SingleObject -Verbose
|
|
#$Output | Format-Table
|
|
|
|
|
|
$Output = Invoke-GPOZaurrContent -Verbose -GPOName 'Default Domain Policy'
|
|
$Output | Format-Table
|
|
|
|
Invoke-GPOZaurr -Type GPOAnalysis -GPOName 'Default Domain Policy' -Verbose
|
|
|
|
|
|
return
|
|
$Output.Reports.RegistrySettings | Format-Table *
|
|
$Output.Reports.RegistrySettings[0].Settings | Format-Table * |