Muokkaa

Jaa


wmiadap

Wmiadap is a application that runs on Windows that can update performance information in the WMI repository. Generally, this allows developers and IT Administrators to create scripts that access performance information, such as the amount of memory used by an application. The following topic describes the command-line interface you can use to control how wmiadap retrieves information.

Wmiadap is installed with the operating system on most systems, in the C:\Windows\System32\wbem directory. If you are seeing error messages concerning wmiadap.exe, search Microsoft Support. Generally, you should not delete wmiadap.exe from your system, unless otherwise instructed.

The transfer of data from the performance libraries and the refresh of classes derived from Win32_PerfRawData and Win32_PerfFormattedData is done by the WmiPerfClass and WMIPerfInst providers. The WmiPerfClass provider updates WMI Performance Counter Classes only when a new performance object is added. You still can run Wmiadap with the /r switch to parse the Windows Driver Model drivers to create performance objects. The /f switch still forces an update of the WMI classes from the performance libraries.

The following switches are available at the command prompt.

wmiadap [/f][/r]

Switches

/f

Parses all the performance libraries on the system and refreshes the classes derived from Win32_PerfRawData and Win32_PerfFormattedData.

/r

Parses all the Windows Driver Model drivers on the system to create performance objects.

See also

Performance Libraries and WMI

winmgmt