PSEXEC is very easy and simple to use. You use it basically in the same way you use
START (except you give it the target computer and a username and password if needed), and is capable of even launching GUI applications, though you won't be able to see or control it.
When used to launch a command-line program with normal
STDIN / Console input and
STDERR output, the program or batch file will act as if you are simply running it on your own machine.
I was up and using
PSEXEC to run diagnostics, defrag.exe, anti-virus programs, and for gathering system information in a shop with over 2,000 PC's without more introduction than
PSEXEC /? within a day.
PSEXEC \\COMPUTER -u Administrator -p password CMD.exe
And you've got the same interactive Command Prompt on
COMPUTER that you'd have if you walked over and typed ALT+RCMDENTER. Maybe a little slower, but it's not noticeable unless you're scrolling through a massive amount of text. Even over 10 Base-T it's not too bad.
As an Network Administrator able to use the same username / password on nearly every computer, I found that all but the most locked down computers, I didn't even need to use a username or password. This...
PSEXEC \\COMPUTER CMD
...was usually sufficient.
To use your example type:
psexec \\Slave1-PC d:\example.exe
psexec \\Slave1-PC cmd
PSEXEC will prompt you for a username and password if they are needed.
The first time you connect to a computer you may need to (or get someone else to) allow the connection via a Pop-Up on the remote system.
Download it Here
Learn about it Here