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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.