Book Image

Mastering Windows PowerShell Scripting

By : Brenton J.W. Blawat
Book Image

Mastering Windows PowerShell Scripting

By: Brenton J.W. Blawat

Overview of this book

Table of Contents (22 chapters)
Mastering Windows PowerShell Scripting
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


This chapter explained how to use PowerShell to interact with WMI. It showed you the components that make up the WMI, namely consumers, infrastructure, and providers. It also explained how these WMI components are used while interacting with the WMI and PowerShell.

You learned a variety of cmdlets that allow you to navigate the WMI structure. You explored how to search different WMI classes for their attributes, which include methods and properties. You then worked through creating, modifying, and removing WMI object property instances. At the end of the chapter, you learned how to invoke WMI class methods in a variety of ways. In the next chapter you will dive into the XML structure and learn how to leverage PowerShell to read and manipulate XML based items.