CmdID / PowerShell / Cmdlets / Get
Get-GPOReport
Generates a report either in XML or HTML format for a specified GPO or for all GPOs in a domain. Windows Server PowerShell reference
From the Windows Server PowerShell reference 7 parameters Its page in the reference
Parameters
-AllIndicates that the cmdlet generates a report for all GPOs in the domain.-Domain, -DomainNameSpecifies the domain for this cmdlet.-Guid, -IdSpecifies the GPO for which to generate the report by its globally unique identifier (GUID).-Name, -DisplayNameSpecifies the GPO for which to generate the report by its display name.-PathSpecifies the path to the report file; for instance, c:\Reports\GpoReport.xml.-ReportTypeSpecifies the format of the report.-Server, -DCSpecifies the name of the domain controller that this cmdlet contacts to complete the operation.