PowerShell Logo Small

Get-GPOReport



This is the built-in help made by Microsoft for the command 'Get-GPOReport', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Generates a report either in XML or HTML format for a specified GPO or for all GPOs in a domain.

SYNTAX


Get-GPOReport [-Guid] <Guid> [-ReportType] <ReportType> [[-Path] <String>] [[-Domain] <String>] [[-Server] <String>] [<CommonParameters>]
Get-GPOReport [-ReportType] <ReportType> [[-Path] <String>] [[-Domain] <String>] [[-Server] <String>] [-All] [<CommonParameters>]
Get-GPOReport [-Name] <String> [-ReportType] <ReportType> [[-Path] <String>] [[-Domain] <String>] [[-Server] <String>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-GPOReport cmdlet generates a report in either XML or HTML format that describes properties and policy settings for a specified GPO or for all GPOs in a domain. The
information that is reported for each GPO includes: details, links, security filtering, WMI filtering, delegation, and computer and user configurations.


You can specify the All parameter to generate a report for every GPO in the domain, or you can specify either the Name or Guid parameter to generate a report for a single
GPO. You can also pipe GPO objects into this cmdlet. If you specify a file by using the Path parameter, the report is written to a file; otherwise, it is printed to the
display.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?linkid=287716

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

C:\PS>Get-GPOReport -Name TestGPO1 -ReportType HTML -Path C:\GPOReports\GPOReport1.html



Description

-----------

This command generates a report in HTML format for the GPO TestGPO1 and writes it to the file C:\GPOReports\GPOReport1.html




-------------------------- EXAMPLE 2 --------------------------

C:\PS>Get-GPOReport -All -Domain sales.contoso.com -Server DC1 -ReportType XML -Path C:\GPOReports\GPOReportsAll.xml



Description

-----------

This command generates a report in XML format for each GPO in the sales.contoso.com domain and writes it to the file C:\GPOReports\GPOReportsAll.xml. The
DC1.sales.contoso.com domain controller is contacted to complete the operation.

If the domain of the user account (or, for startup and shutdown scripts, the computer account) is different from sales.contoso2.com, a trust must exist between the two
domains.




-------------------------- EXAMPLE 3 --------------------------

C:\PS>Get-GPOReport -GUID 73624cc9-e8f2-4f05-8802-193fae8773ce -ReportType XML



Description

-----------

This command generates a report in XML format for the GPO with the specified GUID. Because no path parameter is supplied, the report is written to the display.