WMI Trigger Properties

The WMI Trigger Properties window contains the settings for a WMI Trigger.

Property Pages

WMI Events

Specify the WMI query parameters.

Namespace

Specify the WMI namespace to use.

Query

Specify the WMI query to execute. This must be a valid WMI event query. For information on WMI event queries refer to the Microsoft Platform SDK documentation.

Each time the query returns an event, adTempus will trigger the job.

adTempus does not validate your WMI query settings at the time you save the trigger. To test your query, use the "wbemtest" system utility.

If Windows returns an error when adTempus submits your query, adTempus will log an error message to the message log for the job and hold the job until you edit it to correct the query.

Use a script to select events

For more advanced filtering, you can use a .NET script to filter the message. For each event returned by the query, adTempus will run your script. Your script has access to the Parameters.WMIEvent object, which exposes the event as a ManagementBaseObject.

Your script must return True if adTempus should trigger for the event or False if it should not.