The WMI Trigger sets the following parameters, which can be used by a selection script or by other scripts or notification messages in the job.
Parameter Name |
Description |
WMIEvent |
An ISWbemObject interface to the event object returned by your query. For example, if your query is "SELECT * FROM __InstanceModificationEvent", the WMIEvent parameter will be an ISWbemObject to the __InstanceModificationEvent object returned by your query. If your query contains a GROUP clause, the object will be an __AggregateEvent object. See http://msdn.microsoft.com/library/en-us/wmisdk/wmi/group_clause.asp?frame=true for more information. Note: The event parameter is only available to the selection script called for the trigger. It is not available to scripts run later in the job, as most script parameters are. If you need information from the event later in your job, you must use the selection script to extract the information and save it in other parameters. |