Play with group policy, XML and Powershell
Play with group policy, XML and Powershell

I will show you in this post simple examples to get informations on Active Directory group policies using Powershell.

The main cmdlet I will use is the get-gporeport. With this cmdlet, you can export a Group Policy in XML format using the parameter -ReportType XML.

An xml export will look like this :

____________

The first command will show you how to extract settings in this policy

The second command will extract the GPO links information

Now it is your turn !

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Social Media Auto Publish Powered By : XYZScripts.com
%d bloggers like this: