I am having some problems in wmic tool. I need to use it a java script to run WShell.run("wmic process where name="ASDF.exe" get CommandLine,Processid,Caption,CSName and I need that the result will return back to my javascript where I ran it.
1) How can I make that ? 2) Is it a way to get it formatted or in a some kind of a collection ?
Thanks