Executing Remote Commands using WMI

  • Thread starter Thread starter inder
  • Start date Start date
I

inder

I want to use WMI to execute a remote Command like dir c:\ and get back
the output and the return code of the command. I tried out the sample
code available at msdn to call a method but unable to get information
on how to get the remote output back.

Any help on this would be highly appreciated.
 
Back
Top