Export (0) Print
Expand All

Search and Filter the List of GPOs

Applies To: Windows Server 2008, Windows Server 2008 R2

In Advanced Group Policy Management (AGPM), you can search the list of Group Policy Objects (GPOs) and their attributes to filter the list of GPOs displayed. For example, you can search for GPOs with a particular name, state, or comment. You can also search for GPOs that were last changed by a particular Group Policy administrator or on a particular date.

Performing a complex search

You can perform a complex search by using the format GPO attribute 1: search string 1 GPO attribute 2: search string 2…all-column search strings. The search is not case-sensitive.

  • GPO attribute: Any column heading in the list of GPOs in AGPM other than Computer Version or User Version. GPO attributes include the GPO name, state, user who most recently changed the GPO, date and time when the GPO was most recently changed, comment, GPO status, and WMI filter applied to the GPO.

  • Search string: Text for which to search in the specified column. If a string includes spaces, you must enclose the string with quotation marks.

  • All-column search strings: Text for which to search in all columns in the list of GPOs in AGPM other than Computer Version and User Version. You can include multiple strings separated by spaces. If a string includes spaces, you must enclose the string with quotation marks.

Each GPO attribute and search string pair and each all-column search string are combined by using a logical AND operation. The result is a list of all GPOs for which each specified attribute includes the specified search string and for which any all-column search strings appear in at least one column. The search returns any partial matches for strings so that you can enter part of a GPO name or user name and view a list of all GPOs that include that text in their name.

The following are examples of searches:

 

Description of search result Search query

All GPOs with names that include the text security and North America.

name: security name: "North America"

All checked out GPOs.

state: "checked out"

All GPOs most recently changed by the user named Administrator and most recently changed within the previous month.

changed by: Administrator change date: lastmonth

All GPOs in which the word firewall is included in the most recent comment and in which the word security appears in any column.

comment: firewall security

All GPOs that have a status of All Settings Disabled.

gpo status: all

All GPOs that have a WMI filter named My WMI Filter applied and that have a status of User Configuration Settings Disabled.

wmi filter: "My WMI Filtergpo status: user

Specifying dates

You can search for GPOs changed on a specific date, at a specific time, or during a span of time by using the same special terms available when you search in Windows. If entering a specific date or time, you must use the format that is used in the Change Date column. The following are examples of searches of the Change Date column:

  • change date: 10/10/2009

  • change date: 10/10/2009 9:00:00 AM

  • change date: thisweek

You can use the following special terms, which are not case-sensitive, when you search the Change Date column:

  • Today

  • Yesterday

  • ThisWeek

  • LastWeek

  • ThisMonth

  • LastMonth

  • TwoMonths

  • ThreeMonths

  • ThisYear

  • LastYear

Additional considerations

  • By default, you must be a Reviewer, an Editor, an Approver, or an AGPM Administrator (Full Control) to perform this procedure. Specifically, you must have List Contents permission for the domain.

  • For more information about GPO attributes, see Contents Tab Features.

Additional references

-----
You can learn more about MDOP in the TechNet Library, search for troubleshooting on the TechNet Wiki, or follow us on Facebook or Twitter.
-----
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft