Someone asked me today how to easily export a readable report of all GPOs applied to a system (they were performing a security audit and needed an easy to way to script this). Of course, I immediately thought of PowerShell! So, here’s how you can export a readable report of all GPOs applied to a system in question in PowerShell:
> Import-Module GroupPolicy > Get-GPOReport -All -ReportType Html -Path AllGPOsReport.htm
Of course, you can also use Get-GPOReport to generate a report for a specific GPO and/or export as XML, if you prefer.