Chapter 13. Calling WMI methods on WMI classes

After completing this chapter, you will be able to

Image Use WMI cmdlets to execute instance methods.

Image Use WMI cmdlets to execute static methods.

Using WMI cmdlets to execute instance methods

There are actually several ways to call Windows Management Instrumentation (WMI) methods in Windows PowerShell. One reason for this is that some WMI methods are instance methods, which means they only work on an instance of a class. Other methods are static methods, which means they do not operate on an instance of ...

Get Windows PowerShell Step by Step, Third Edition 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.