I would like to know how I can run remote applications on Windows Machines. Until now I have been using Windows Powershell remote, that works fine, but only to execute cmdlets. I want to be able to execute any command line application, like launch a Vim session, a Diskpart utility, etc.
Windows – how can i execute remote console applications in windows
command-line-interfaceremotewindows
Best Answer
You should be able to use the psexec utility from SysInternals to run commands on remote computers.
The syntax to launch a remote command prompt is
psexec \\REMOTE-PC cmd
.