Search Tools Links Login

Export GPO Settings


Exports all GPO's across domains in HTML or XML file.

Import-Module GroupPolicy

# Export to HTML
Get-GPOReport -All -ReportType html -Path C:\GPO\Export\report.html

# Export to XML
Get-GPOReport -All -ReportType xml -Path C:\GPO\Export\report.xml

Note: XML report can be opened in Excel. File -> Open, and choose the XML file. Excel will prompt on how to open the file, choose 'As an xml table'.

About this post

Posted: 2022-08-25
By: dwirch
Viewed: 1,668 times

Categories

Active Directory

Scripting

Powershell

PowerShell Code Cache

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.