How can I execute a program on a remote machine using powershell?
PowerShell Remote Access – Execute Program on Remote Computer
powershellremote-accessscriptingwindows
Related Topic
- Powershell – Run remote powershell as administrator
- Powershell – How to run commands on a remote machine with admin privilege using powershell
- Windows – Executing a git command using remote powershell results in a NativeCommmandError
- Linux – Powershell execute Queries using SQLPLUS
- Windows – Use Powershell to start a GUI program on a remote machine
Best Answer
The cool new way to do this is with WinRM. I've seen this demo'd on Windows Server 2008 R2, although there is a download with powershell v2 & WinRM for other windows operating systems.
The not so cool (or new) way to do this is to use psexec, which isn't powershell, but I'm sure there's some way to invoke it via powershell-esque syntax.