Appendix E. Useful WMI Classes

With more than 2,000 WMI classes installed on a modern Microsoft Windows operating system, the question is not what you can use in a script, but what you should script. Some WMI classes return a lot of information, but for all practical purposes this information is basically useless. It makes sense to home in on the WMI classes that produce the most valuable information. This appendix doesn’t provide a complete list—rather, it offers a list of WMI classes that I have found myself using again and again over the last few years. Tables E-1 through E-32 list WMI class names, as well as their associated properties, methods, and descriptions. The tables are organized by hardware components, software components, and finally ...

Get Windows PowerShell™ 3.0 Step by Step 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.