Link to home
Start Free TrialLog in
Avatar of Miritm
Miritm

asked on

remote execution on Windows

I have an a program which I want to run on remote Windows servers. I heard that it was possible to do this using Windows PowerShell, however tried to play around with it and did not succeed.
Can anybody help - is it indeed possible to execute programs remotely using PowerShell? and which setup is needed on the remote server to do this?
Avatar of Steven Carnahan
Steven Carnahan
Flag of United States of America image

psexec \\<server> cmd will run the command prompt on the remote server.

psexec \\<server> "c:\app.exe" (quotes needed only if spaces in name) will run an application that resides on the remote servers C: drive.

Is that what you are after?
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial