Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

AD commands for viewing and exporting GPO settings

Posted on 2016-09-29
1
44 Views
Last Modified: 2016-10-03
Do any of the AD powershell commands export all settings for a specific GPO which you specify? And if so can an example be provided where results are written to CSV?

Can you run these remotely, or do you need to run them directly on a DC?
0
Comment
Question by:pma111
1 Comment
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 41821283
I am not sure if  you can export the GPO settings to csv, you can try XML or HTML which is easy to read..
Examples...
Get-GPO -All | % {$_.GenerateReport('html') | Out-File "C:\GPOReports\$($_.DisplayName).htm"}


Get-GPOReport -All -Domain sales.contoso.com -Server DC1 -ReportType XML -Path C:\GPOReports\GPOReportsAll.xml

Open in new window

This require GroupPolicy PowerShell module (Win 2008 R2 and above).
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help you understand what HashTables are and how to use them in PowerShell.
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question