in reply to How to execute commands on remote desktop connection?
Since you're on Windows, I'd recommend looking into using psexec, which is part of the Sysinternals set of tools. From your Perl code, you would use system to call psexec.
Bought a souvenir
Emailed all my friends about it
Got blowed up
Hit him right dead in the jaw
Made it awkward
Took a selfie
Want to go home
Results (336 votes). Check out past polls.