O'Reilly logo

PowerShell and WMI by Foreword by Ed Wilson, Richard Siddaway

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

Chapter 19. CIM cmdlets and sessions

 

This chapter covers
  • Using WMI methods in cmdlets created from WMI objects
  • Demonstrating the PowerShell v3 CIM cmdlets
  • Using CIM sessions to access remote machines

 

In this chapter, we’re going to continue our investigation of the CIM API introduced in PowerShell v3. In chapter 18, you saw how to create cmdlets directly from WMI classes. In this chapter, you’ll learn how to extend the use of PowerShell v3’s cmdlets-over-objects functionality to utilize the methods presented by WMI classes. You’ll create additional cmdlets to provide a mechanism to utilize those methods. WMI methods may or may not require parameters. You’ll learn how to work with both of these scenarios.

 

Note

This chapter builds on ...

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