Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Exporting Group Policy Settings into Excel - Help Needed!!!

$
0
0

All,

 I have installed Microsoft GPMC Sample Scripts and used the command "cscript GetReportsAllGPOs.wsf" to get all the lists of GPOs in our domain. As you all know, the above command exports all GPO files as HTML and XML version of each GPO in the domain. I've been able to export the xml files into excel to view the data.

The issue is that I did not see all the interesting data I needed. I need to retrieve information such as :

1. Domain

2. GPO Name

3. Policy Path e.g Computer Configuration\Policicies\Windows Settings\Account Policies\Password Policy

4. Policy Setting Name e.g Enforce Password History

5. Policy Links e.g to each OU, Domain, or Site

The sections I see in the Excel spreadsheet are # 1 and 2.

Can someone help with a script to retrieve the above information from the domain environment or from the xml and html files I've already retrieved from the "cscript GetReportsAllGPOs.wsf" command?

Thanks in advance,

TeeDarling77



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>