Chapter 39. WMI and CIM

This chapter covers

  • Introducing WMI
  • Understanding the WMI and CIM cmdlets
  • Working with CIM sessions and CDXML

Including a chapter on Windows Management Instrumentation (WMI) and the Common Information Model (CIM) in an advanced PowerShell book may seem to be an odd move, but in reality PowerShell and WMI are closely linked—we’ve written much on using WMI with PowerShell, two powerful technologies that combine to give a huge amount of functionality. PowerShell makes this combination even more powerful because 60% of the new PowerShell cmdlets delivered in the Windows 8/Windows Server 2012 family of products are produced from WMI classes as “cmdlets over objects,” which we’ll cover near the end of the chapter.

Get PowerShell in Depth, Second 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.