Files
GPOZaurr/Examples/Example-29-FindGPO2.ps1
T
Przemyslaw Klys ed417e7d9e Update
2020-10-24 20:30:35 +02:00

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