Files
GPOZaurr/Examples/Example-29-FindGPO2.ps1
T
Przemyslaw Klys d3c31e9651 Update example
2020-07-30 21:58:41 +02:00

8 lines
388 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-GPOZaurr -SingleObject
$Output | Format-Table
$Output.Reports.RegistrySettings | Format-Table *
$Output.Reports.RegistrySettings[0].Settings | Format-Table *