Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
IT administrators are frequently asked by either their managers or auditors to produce a report that proves all Group Policy settings are correct. To satisfy these requests, IT pros need to quickly export Group Policy settings into an insightful report in an easy-to-read format. They can create acceptable passable reports by running scripts, but this method of Group Policy export requires a great deal of time and effort that could be better spent on more important tasks.
1. 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
2. Open a generated .html file in a browser.
3. Report example:
http://d9hhrg4mnvzow.cloudfront.net/get.netwrix.com/reporting-on-gpo-security-settings/f8fa5724-native-auditing-450x300.PNG
Credits
Originally posted - https://www.netwrix.com/how_to_report_on_gpo_security_settings.html