Chapter 39. WMI and CIM

This chapter covers

  • Introducing WMI
  • Understanding the WMI and CMI 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 v3 makes this combination even more powerful because 60 percent of the new PowerShell cmdlets delivered in Windows Server 2012 are produced from WMI classes as “cmdlets over objects,” which we’ll cover at the end of the chapter.

The chapter starts with an ...

Get PowerShell in Depth now with the O’Reilly learning platform.

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