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.