You can create and run queries to locate objects in a System Center 2012 Configuration Manager hierarchy that match your query criteria. These objects include items such as specific types of computers or user groups. Queries can return most types of Configuration Manager objects, which include sites, collections, applications, and inventory data.

When you create a query, you must specify a minimum of two parameters: where you want to search and what you want to search for. For example, to find the amount of hard disk space that is available on all computers in a Configuration Manager site, you can create a query to search the Logical Disk attribute class and the Free Space (MB) attribute for available hard disk space.

After you create an initial query, you can specify additional query criteria. For example, you can specify that the query results include only computers that are assigned to a specified site. You can also modify how results are displayed so that you can view the results in an order that is meaningful to you. For example, you can specify that the results are sorted by the amount of free hard disk space in either ascending or descending order.

When you create a query, it is stored by Configuration Manager and displayed in the Queries node in the Monitoring workspace. From this location, you can create a new query and then run, update, or manage an existing query.

You can also import a query into a query rule in a Configuration Manager collection. For more information, see How to Create Collections in Configuration Manager.

What’s New in Configuration Manager

See Also