Chapter 9. Using CIM

One of the new and exciting changes to WMI in Windows PowerShell 3.0 is the introduction of the Common Information Model (CIM). The CIM cmdlets provide a new way to retrieve existing WMI. The advantages are numerous. First, you will probably notice that the CIM cmdlets return WMI information faster than does the Get-WMiObject cmdlet. Second, because the CIM cmdlets use WinRM (instead of the legacy DCOM) for a network transport, it means you can immediately use CIM to query your remote Windows Server 2012 computer. It also means you can easily use CIM for remote management because WinRM is easily configured. See Chapter 7 for more information ...

Get Windows PowerShell 3.0 First Steps now with O’Reilly online learning.

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