O'Reilly logo

Microsoft Windows PowerShell 3.0 First Look by Adam Driscoll

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Differences between the CIM and WMI cmdlets

The CIM cmdlets are very similar to the WMI cmdlets that have been in PowerShell. For example, we can accomplish all the same things that we could by using the Get-WmiObject class with the Get-CimInstance class.

Both of the cmdlets even offer the same filtering mechanism found in WMI. As we investigate further, we will see that one of the biggest differences between the CIM and WMI cmdlets is that they handle remote connections differently. In Windows 8, the WSMan service will be on by default. Rather than having to configure remoting via PowerShell, this service will be the end point of choice. In the past WMI has communicated over the Distributed Component Object Model or DCOM. DCOM is notorious for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required