Generate reports for all GPOs¶
1 2 3 4 5 6 7 | $GPOs = Get-GPO -All foreach ($GPO in $GPOs) { $name = $GPO.DisplayName Get-GPOReport -Name $name -ReportType HTML -Path "C:\_Sources\$name.html" } |
1 2 3 4 5 6 7 | $GPOs = Get-GPO -All foreach ($GPO in $GPOs) { $name = $GPO.DisplayName Get-GPOReport -Name $name -ReportType HTML -Path "C:\_Sources\$name.html" } |