Managing with Windows Management Instrumentation

In this chapter, we cover the following recipes:

  • Exploring WMI in Windows
  • Exploring WMI namespaces
  • Exploring WMI classes
  • Obtaining local and remote WMI objects
  • Using WMI methods
  • Managing WMI events
  • Implementing permanent WMI eventing


Windows Management Instrumentation (WMI) is a Windows component you use to help manage Windows systems. WMI is Microsoft's proprietary implementation of the Web-Based Enterprise Management (WBEM) standard. WBEM is an open standard promulgated by the Distributed Management Task Force (DMTF) that aims to unify the management of distributed computing environments by utilizing standards-based internet technologies.

In addition to WMI for Windows, there ...

Get Windows Server Automation with PowerShell Cookbook - Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.