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: /? .