#PSTip Get all WMI classes with methods
Note: This tip requires PowerShell 2.0 or above.
When working with WMI and PowerShell, I often find it necessary to quickly generate a list of methods available in a WMI class. One way to do this is to examine the WMI class meta data. Let us see how:
|
|
This will list all Win32 WMI classes with methods.
In Windows PowerShell 3.0, the same can be done using:
|
|
or
|
|