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

Exploring the new CIM cmdlets

In the previous section we examined what was different between the existing WMI cmdlets and the new CIM based cmdlets. In this section we will look at what additional functionality has been added to the CIM module which does not appear in the WMI cmdlets.

CIM sessions

Using the WMI cmdlets, a connection was made for each command. If we needed to specify credentials it would need to be done every time the WMI cmdlet was invoked. This leads to a lot of extra typing and work. This can also make it difficult to work with a large group of computers. Although possible with remoting, there is a new mechanism which the CIM cmdlets can harness. A CIM session is a lot like a remote session started with New-PSSession. The big ...

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