Home » Questions » Computers [ Ask a new question ]

What is the WMIC command, and how can I use it?

What is the WMIC command, and how can I use it?

Someone on an IRC network was asking for the CMD command to "index a folder". Turned out he meant the "TREE" command.

Asked by: Guest | Views: 128
Total answers/comments: 1
Guest [Entry]

"WMIC is the command line for Windows Management Instrumentation, it allows you to manage certain components of Windows from the command line. It will not have the same commands as command prompt, but it can be used to get and set all sorts of information regarding the operating system and hardware.

for example, get the CPUs current max clock speed:

wmic:root\cli>cpu get maxclockspeed
MaxClockSpeed
3594

You may be interested in Technet's great article on WMIC."