Chapter 2. Using the CIM cmdlets

Using the CIM cmdlets to explore WMI classes

The CIM cmdlets support multiple ways of exploring Windows Management Instrumentation (WMI). They work well when working in an interactive fashion. For example, tab expansion increases the namespace when using the CIM cmdlets, thereby permitting you to explore namespaces that might not otherwise be very discoverable. You can even drill down into namespaces by using this technique. All CIM classes support tab expansion of the namespace parameter, but to explore WMI classes, you want to use the Get-CimClass cmdlet.


The default WMI namespace on all operating ...

Get Windows PowerShell Best Practices 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.