/build/static/layout/Breadcrumb_cap_w.png

Command Line Access to WMI in XP

Link

Microsoft Windows XP includes a command-line utility (Wmic.exe) to access Windows Management Instrumentation (WMI). Until now it has been necessary to write a script to gather information from WMI. Note that WMIC can only be used by the local system administrators regardless of WMI namespace permissions on the local machine.

When you run the Wmic.exe utility for the first time, the utility compiles its .mof files into the repository.

At a command prompt, type: wmic , and an interactive-mode prompt "wmic:root\cli" is displayed.

For help, type: /? .

Also see:

* WMI Command-line


Comments

  • WMI support in XP is very basic and not all namespace are remotely accessible. It is very improved for newer windows versions. - dedenker 10 years ago
This post is locked
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ