Executing Remote Commands using WMI

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top