Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2178
  • Last Modified:

Dump GPOs linked to OU's out to a file

I'm looking for a way to export several OU's and their associated GPOs to a file, preferably Excel.  Ideally, I would be able to dump the OU, any GPOs applied to that OU (enabled or not), and work my way down starting from a parent OU and have a file that mirrors what I see in the GPMC after I've expanded all my OU's.
0
trarthur
Asked:
trarthur
1 Solution
 
ajbrittonCommented:
Tricky. Group Policy Management Console allows you to import/export Group Policy settings. It will also print reports of GPOs, which I believe include the links.
0
 
drmarstonCommented:
here is an example I have bookmarked..
Use it as a base and customize to your environment and needs:

http://www.activexperts.com/activmonitor/windowsmanagement/scripts/msoffice/excel/#LADDS.htm
0
 
trarthurAuthor Commented:
Thanks for responding drmarston.  The link you provided will provide output of the OU structure if I read it correctly.  What I would like to do is take that output and combine it with output that details what GPO's are applied to each OU.

I'm envisioning something like this:

MY_OU
       GPO-Policy 1
   COMPUTERS
            GPO-Policy 2
            GPO-Policy 3
          DEPT A
                 GPO-Policy 4
          DEPT B
                 GPO-Policy 5

etc....

0
 
kamalgopiCommented:
you can see if you use the trail veriosn of desktop authority from scipt logic.

Cheers:)
Kamal
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now