Re: run script/batch file on remote pc from a server



Look at using something like PSEXEC from SysInternals.
http://www.microsoft.com/technet/sysinternals/utilities/psexec.mspx

You might have to copy the batch file to the remote computer or try to run it from a network share via PSEXEC.

--
Jeffery Hicks
Microsoft PowerShell MVP
http://www.scriptinganswers.com
http://www.powershellcommunity.org

Now Available: WSH and VBScript Core: TFM
Coming Soon: Windows PowerShell: TFM 2nd Ed.

"Danc383@xxxxxxxxxxx" <Danc383hotmailcom@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:E7BEA44C-C19E-40E3-A903-B635ED9E8354@xxxxxxxxxxxxxxxx
Help, How can I run batch file on remote pc from a server using a script or
batch file?.

I want to run a script eg. (serverbat) on a server (SERVER1) that will run
a script (clientbat) on a remote workstation (CLIENT1)

EG I Run serverbat on SERVER1, CLIENT1 runs the clientbat batch file


.


Loading