How to use PowerShell to create a Group Policy report with Windows Server 2008 R2

To create a report of all existing Group Policy entries, launch the Active Directory Module for Windows PowerShell on a domain controller.  Enter the following commands:

Import-Module GroupPolicy

Get-GPOReport –All –ReportType HTML –Path C:\gpreport.html

get_gporeport