Export (0) Print
Expand All

WMI Query Targeting

Applies To: Windows 8, Windows Server 2008 R2, Windows Server 2012

A WMI Query targeting item allows a preference item to be applied to computers or users only if the processing computer evaluates the WMI query as true. If Is Not is selected, it allows the preference item to be applied only if the processing computer evaluates the WMI query as false.

 

Query

The WMI query text

Example
The targeting item allows the associated preference item to process if the computer's time zone is set to the Eastern Time zone.
Select * from win32_timezone where bias = -300

Namespace

The WMI namespace in which to execute the query. The default value is Root\cimv2 .

Property

The name of a specific property to assign to a variable. Providing this value in the targeting item is optional.

Variable name

The name of the environment variable to which the targeting item sets the value of the Property , if one is found. Providing this value in the targeting item is optional.

Additional considerations

  • To reposition a targeting item within the list of targeting items that you have applied to a preference item, either drag the targeting item to a new position, or select the targeting item and then click the Move Up arrow or Move Down arrow.

  • Preference items are available only in domain-based GPOs.

Additional references

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft