Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following table lists the classes for WMI preinstalled permanent consumers. You can create instances of these classes to provide the permanent consumer class to supply the logical consumer that responds when triggered by the events specified in the filter. For example, use the ActiveScriptEventConsumer class to define the script that executes when a specified event occurs.
For more information, see Monitoring and Responding to Events with Standard Consumers and Monitoring Events.
Class | Description |
---|---|
ActiveScriptEventConsumer | Executes a predefined script in an arbitrary scripting language when an event is delivered to it. Example: Running a Script Based on an Event |
CommandLineEventConsumer | Launches an arbitrary process in the local system context when an event is delivered to it. Example: Running a Program from the Command Line Based on an Event |
LogFileEventConsumer | Writes customized strings to a text log file when events are delivered to it. Example: Writing to a Log File Based on an Event |
NTEventLogEventConsumer | Logs a specific message to the Windows event log when an event is delivered to it. Example: Logging to NT Event Log Based on an Event |
ScriptingStandardConsumerSetting | Provides registration data common to all instances of the ActiveScriptEventConsumer class. |
SMTPEventConsumer | Sends an email message using SMTP each time an event is delivered to it. Example: Sending Email Based on an Event |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!