I am trying to execute a batch script from a remote server using WMIC and getting the output attached is 'WMIC\_Output.JPG'

[![WMIC_Output](https://i.stack.imgur.com/tAIUm.jpg)](https://i.stack.imgur.com/tAIUm.jpg)

Output i am seeing from the command is not accurate. when i run the same script on actual server i can see the correct output. Please refer to attached screenshot 'Output.JPG'
[![Output](https://i.stack.imgur.com/zJiDL.jpg)](https://i.stack.imgur.com/zJiDL.jpg)

Now i assume script being executed remotely is giving me process ID and the script exit status.

Please let me know WMIC parameters/switches to be included to get the required output.

-Abhi