In Chapter 5, we covered a lot of material. We looked at the ways you can create scripts that
respond to events and examined the different kinds of events, as well as the two main meth-
ods of performing event-driven queries. Along the way, we talked about permanent event con-
sumers and discussed the main tasks involved in using them. In this chapter we look at the
SWbemLocator methods used to connect into Windows Management Instrumentation
(WMI). These methods give you more power and flexibility in scripting than using the simple
WMI moniker does.
Before You Begin
To work through this chapter, you sho ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.