Finding Out Interesting WMI Classes

by Mar 13, 2009

WMI provides a wealth of information as long as you know the name of the WMI class that represents the entity you are seeking. Fortunately, Get-WMIObject has a built-in dictionary that lists all available WMI classes in the default namespace:

Get-WMIObject -list

To quickly filter this list, use Select-String. Use this to find all WMI classes related to printing:

Get-WMIObject -list | Select-String Print

You'll get the complete WMI class path and can safely ignore everything up to the colon.