< Blog

Why WMIC is Useful

By Garth Jones

It is no secret that I love using wbemtest.exe because it is found on every computer and its output is easy to read.

WMIC, or WMI command line, is another WMI tool found on every computer. This one, similar to wbemtest, allows you to query WMI, however its output isn’t as nice.

WMIC has one advantage over wbemtest. WMIC has both x86 and x64 versions, whereas on an x64 computer, wbemtest is only x64, there is no x86 version.

Notice within the screenshot below that wbemtest.exe does NOT exist in c:\windows\syswow64\wbem directory (red arrow) but it does exist within the c:\windows\system32\wbem (green arrow).

If you ever have to track down an issue involving an x86 WMI provider on a x64 computer, then you will need to use WMIC (x86) to troubleshoot the issue.

Why WMIC is Useful