About WMI

Windows Management Instrumentation (WMI) is the Microsoft implementation of Web-based Enterprise Management (WBEM), which is an industry initiative to develop a standard technology for accessing management information in an enterprise environment. WMI uses the Common Information Model (CIM) industry standard to represent systems, applications, networks, devices, and other managed components. CIM is developed and maintained by the Distributed Management Task Force (DMTF).

Managing Remote Computer Systems with WMI

The ability to obtain management data from remote computers is what makes WMI useful. Remote WMI connections are made through DCOM. An alternative is to use Windows Remote Management (WinRM), which obtains remote WMI management data using the WS-Management SOAP-based protocol.

Programming with WMI

Management applications or scripts can get data or perform operations through WMI in a variety of languages. For more information, see the Developer Audience section at Windows Management Instrumentation.

Many Windows components have associated WMI providers, like the Boot Configuration Data (BCD) Provider or the Storage Volume Provider. WMI Providers implement the functionality described by WMI classes methods and properties to manage associated Windows components. For more information, see WMI Providers and WMI Classes.

For more information about how to write a provider to supply data from new hardware or applications, see Providing Data to WMI.

For more information about how to implement this technology, see Using WMI.

The following table lists topics included in this section.

SectionDescription
What's New in WMINew features in WMI.
Operating System Availability of WMI ComponentsSome components are no longer available or are available as an optional installation.
WMI ArchitectureA management application communicates with WMI by using a variety of interfaces, such as Visual Basic, C++, ODBC, and ActiveX. All the WMI interfaces are based on the Component Object Model (COM).
Common Information ModelA language independent programming model that uses object oriented techniques to describe an enterprise.
Managed Object FormatA format that enables you to create human-readable code, which the operating system can translate into a set of CIM classes. You can use the new classes to model and control new technologies for an enterprise.
User Account Control and WMIUser Account Control (UAC) affects what WMI data is returned, remote access, and how scripts must be run. For more information, see Getting Started with User Account Control on Windows Vista.
Access to WMI Securable ObjectsWMI uses standard Windows security objects and procedures to control and protect access to securable objects like WMI namespaces, printers, services, and DCOM applications.
Performance Libraries and WMIData from the system performance counters is available in WMI classes.
IPv6 and IPv4 Support in WMIWMI IP Route Provider and network classes supply data for IPv4 addresses. Starting with Windows Vista, WMI also provides limited support for IPv6 network capabilities.
Date and Time Format WMI uses the date and time formats defined by the Distributed Management Task Force CIM specification. For more information, see DMTF.
Scripting Access to WMIWrite WMI scripts to perform management tasks.
WMI TroubleshootingWhen accessing WMI local or remote data in an application or script, you may receice errors ranging from missing classes to access denied. Providers also have debugging options and troubleshooting classes available.
Further InformationWeb sites, books, and articles about WMI.

 

See Also

Using WMI
WMI Reference

Send comments about this topic to Microsoft

Build date: 11/3/2009

Tags : ad green mami


Page view tracker