Chapter 2. CIM sessions

Richard Siddaway

PowerShell v3 introduces a great deal of new functionality. The biggest changes are associated with Windows Management Instrumentation (WMI).


WMI is Microsoft’s implementation of the industry standard Common Information Model (CIM). With the Windows 8/2012 wave of products, Microsoft started moving to a more standards-based approach for WMI, and new terminology has emerged based on these changes.

With WMI in PowerShell v3, you get

  • A new API
  • New objects and .NET classes
  • A new set of cmdlets
  • CIM sessions
  • The ability to create cmdlets from WMI classes

One chapter can’t cover all of these topics, so I’m going to concentrate on CIM sessions with a side trip through the CIM ...

Get PowerShell Deep Dives now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.