Chapter 10. Windows Management Instrumentation
Windows Management Instrumentation (WMI) was created by Microsoft as a management engine for Windows-based operating systems. It provides the ability to view detailed information about a system's hardware and the operating system. WMI also provides the ability to perform actions on a computer, such as opening a program.
In this chapter, you will learn the following:
- WMI structure
- Using WMI objects
- Searching WMI classes
- Creating, modifying, and removing WMI object property instances
- Invoking WMI class methods
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...