#Importing the cmdlets
import-module grouppolicy
#See all the cmdlets available
get-command –module grouppolicy
#Examples – https://technet.microsoft.com/en-us/library/ee461057.aspx
Get-GPOReport -Name TestGPO1 -ReportType HTML -Path C:\GPOReports\GPOReport1.html
Get-GPOReport -All -Domain sales.contoso.com -Server DC1 -ReportType XML -Path C:\GPOReports\GPOReportsAll.xml
Get-GPOReport -GUID 73624cc9-e8f2-4f05-8802-193fae8773ce -ReportType XML