Get a HTML or XML Starter Group Policy Object (Starter GPO) Report using PowerShell using Get-GPOReport

There is a simple Active Directory Group Policy PowerShell cmdlet for getting a HTML or XML report for a Group Policy Object called Get-GPOReport.

This makes life really simple to generate a report however there is no corresponding cmdlet for a Starter Group Policy Object.

These are possible to generate as they can be seen in the Group Policy Management Console when you click on the Settings tab.


To generate the report in PowerShell simply get the Starter GPO with the Get-GPStarterGPO cmdlet and then call the GenerateReport method directly on the object, passing either "HTML" or "XML" depending on the format you require.

$starterGpo = Get-GPStarterGPO -Guid "3C720B80-15F3-4446-BF25-F57548A582CF";
$starterGpo.GenerateReport("XML");
$starterGpo.GenerateReport("HTML"); 


 While you're here -
Why not check out our Group Policy Audit and Documentation Tool?



Comments

Popular posts from this blog

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

TFTPD32 or TFTPD64 reports Bind error 10013 An attempt was made to access a socket in a way forbidden by its access permissions.

Enable function lock for F1-F12 on HP ZBook mobile workstations