I was just creating a small tool to execute shell commands on remote machine and get output and errors.
I am running my application under all privileges.
Example : I should be able to run dir /a on remote machine and get output and so on for other commands.
I just browsed for it and found that psexec is a tool provided to do this task. But I want to do this using .net framework.
If I will used WMI then I can't know when then process is finished and read output.
Anyone have done that before.
Thanks
Do you want to do something like Remote debugging for development purposes?
If so : Try Remote Debugging in visual studio. Start: Visual Studio > Visual Studio Tools > Visual Studio Remote Debugger
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.