One task I had to do a a few times recently is track down which GPOs had a particular setting enabled.  If you are working in an environment with a signifcant number of GPOs this can be a tedious task.
The easier way – use the SDMSoftware GPMC cmdlets to create an XML file for each GPO. You can then use select-string to search through the GPOs for the setting you need.  The real advantage that searching is so quick that you can have multiple attempts to refine your search and still do it much quicker than checking manually in GPMC.
About these ads
This entry was posted in PowerShell and Active Directory. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s