All the scripts used in this chapter are located on the CD that accompanies this book
in the \Scripts\Chapter03 folder.
Understanding WQL
To query WMI, you must become familiar with WMI Query Language (WQL). If WQL
reminds you of SQL, which stands for structured query language, it is for good reason. WQL
is actually a subset of SQL—with some additions that make it more useful for returning infor-
mation through WMI. When you perform a query using WMI, you have the ability to return
prodigious amounts of information. This is co ...
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.