Files
GPOZaurr/Examples/Example-29-FindGPO2.ps1
T
Przemyslaw Klys b4f014855b Update
2020-10-13 00:13:57 +02:00

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