Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1683

When WMIQUERY finds no instances ...

$
0
0
Could it be made more friendly?

Compare these.

Code:
v:\> wmic process where name='notepad.exe' get ProcessID
No Instance(s) Available.

v:\> wmiquery /L /a . "Select ProcessId from Win32_Process where Name='notepad.exe'"
Error (SYS): Incorrect function.

Viewing all articles
Browse latest Browse all 1683

Trending Articles