Listing your GPOs and GPO links
A reader recently asked me whether there was a simple way in Windows Server 2003 to list all your GPOs and the containers (domains, sites, OUs) they are linked to. Well, there's no exact way of doing this out of the box, but there is a way that effectively gives you the info you want. Here's how:
1. Log on to a computer on which you've already installed the Group Policy Management Console (GPMC). Installing this console also installs a bunch of scripts, one of which you're now going to use.
2. Open a command prompt and change directory to the C:\Program Files\GPMC\Scripts\ folder.
3. Type ListAllGPOs.wsf /v and the result is a list of every GPO in your domain along with the containers they are linked to and tons of other information.
4. If you understand Windows scripting, you can customize this script to give you only the information you want and in the format you want.
Cheers, Mitch Tulloch