How to export all group policies to HTML

Exporting all group policies to HTML is an arduous task at best…until you open up Windows PowerShell. No matter how counter-intuitive the GroupPolicy module for Windows Server may be, it’s quite simple to export all GPOs:

Get-GPO -all | % { Get-GPOReport -GUID $_.id -ReportType HTML -Path "C:\GPOExport\$($_.displayName).html" }

Piece of cake! Automate this for regular, human-readable, Group Policy backups.

Written on July 17, 2014