I manage to open a console application in a remote computer by using PSTools using PsExec.exe.
C:\PsExec.exe -i 2 -s -d \128.168.500.500 -u username -p password "D:\myApp.exe"
That will open a console application (not just a console) remotely.
Now I would like to execute a command in that remote console application. Is that somehow possible at all?
This is the command I want to run: