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

WMI structure


WMI is made up of three components. These three components include the WMI consumers, the WMI infrastructure, and the WMI providers. When you are using PowerShell, you will leverage all three of these components to interact with the hardware and operating system.

WMI structure is shown as follows:

WMI consumers are applications that can query and interact with the WMI. This may include PowerShell, .NET, C, C++, and other scripting and programming languages. Consumers communicate with the WMI infrastructure to obtain information about a system. WMI consumers do not, however, interact directly with the hardware or operating system through WMI.

The WMI infrastructure consists of an object manager and a WMI repository. The object manager keeps track of the used WMI instances on a system. The WMI repository is like a database, which keeps inventory of all the available WMI objects to interact with. These objects are imported into the CIM Object Manager (CIMOM), via Managed Object...