At a command prompt, type: wmic, and an interactive-mode prompt "wmic:root\cli" is displayed. For help, type: /?.
Some examples of commands are:
- process where (processid>300) list brief:
This command requests the computer to list all the processes on specified computers where the ProcessID is greater than 300, and at the same time list only the minimum information on these processes.
This command requests the computer to add to the list of nodes from which you want to retrieve information. This command, however, is subject to all WMI security measures, such as, namespace security.
- path win32_processor get maxclockspeed
This command, provided that you know the WMI class, can specify an instance and retrieve properties or call on a defined method.