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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.