Dump GPOs linked to OU's out to a file

Posted on 2007-07-19
Last Modified: 2008-05-31
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.
Question by:trarthur
    LVL 8

    Expert Comment

    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.
    LVL 5

    Expert Comment

    here is an example I have bookmarked..
    Use it as a base and customize to your environment and needs:
    LVL 5

    Author Comment

    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:

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


    LVL 11

    Accepted Solution

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


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
    Installing a printer using group policy preferences is not that hard let’s take a look at it. First lets open up your group policy console and edit the policy you want to add it to. I recommend creating a new policy for each printer makes it a l…
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now