- Open PowerShell ISE on your domain controller → Run the following PowerShell script (adjust file path and Domain parameter as needed):
Import-Module ActiveDirectory
Import-Module GroupPolicy
$dc = Get-ADDomainController -Discover -Service PrimaryDC
Get-GPOReport -All -Domain enterprise.com -Server $dc -ReportType HTML -Path C:\Temp\GPOReportsAll.html
- Open a generated .html file in a browser.
- Run Netwrix Auditor → Navigate to "Reports" → Expand the "Active Directory" section → Go to "Group Policy - State-in-Time" → Select "Group Policy Objects by Policy Name" → Click "View".
- To save the report, click the "Export" button → Choose a format from the dropdown menu → Click "Save".