Asynchronous Event Notification

The mechanism for event delivery described earlier provides a simple, convenient facility for interacting with WMI events from VBScript. Despite its convenience, however, it has one serious limitation: At any given time, a script using this mechanism can respond only to events emanating from a single SWbemEventSource object. In practice, this imposes two irritating restrictions. First, a single script cannot respond to different types of event simultaneously unless they can all be specified in a single query. Second, a single script can receive events from only one machine at a time. One of the most exciting promises of WMI Event Notification is its capability to constantly monitor the state of machines across ...

Get Windows Management Instrumentation (WMI) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.