Windows Management Instrumentation
Windows Management Instrumentation (WMI) is Microsoft’s implementation of Web-Based Enterprise Management (WBEM), an industry initiative to provide a Common Information Model (CIM) for pretty much any information about a computer system.
The Python WMI module is a lightweight wrapper on top of the pywin32 extensions, and hides some of the messy plumbing needed to get Python to talk to the WMI API. It’s pure Python and should work with any version of Python from 2.1 onwards (list comprehensions) and any recent version of pywin32.
What’s new in 1.2?
This is mostly a performance release. Thanks largely to contributions and serious testing from Paul Tiemann, the module now uses lazy and cached lookups for properties and methods, and offers a few lighter-weight methods where the full introspective functionality isn’t needed. This is particularly useful for people running WMI as a monitoring tools in a live environment where the monitoring shouldn’t interfere with the running of the machine it’s on.