Re: run commands at remote servers

From: Gabe - GMail (gabe.eapen_at_gmail.com)
Date: 12/23/04


Date: Thu, 23 Dec 2004 10:30:37 -0600

Have you looked at using Psexec? It runs programs remotely from with the
remote system.

PsExec is documented at:
http://www.sysinternals.com/ntw2k/freeware/psexec.shtml

Gabe
"Jrex7" <Jrex7@discussions.microsoft.com> wrote in message
news:70EFE585-D7F4-4460-80DD-E267EDE3E688@microsoft.com...
>I need to create a script that will run a set of commands at a few remote
> servers then reboot the servers.
> I will be running the same commands at all the remote servers. All servers
> have the same name except for a number designation at the end of the name.
> example:
> On Server001, run command1 and wait untill the command funishes, then run
> command2 and wait until it finishes, then when finished running the two
> commands reboot this server. then satart same process on Server002.
>
> Any on writing this script will be appreciated.
>



Relevant Pages

  • RE: [Full-Disclosure] Psexec on *NIX
    ... The idea here is that he'd like to run commands on a remote windows box, ... but Psexec requires nothing more than a fresh windows ...
    (Full-Disclosure)
  • run commands at remote servers
    ... servers then reboot the servers. ... I will be running the same commands at all the remote servers. ...
    (microsoft.public.windows.server.scripting)
  • Re: run commands at remote servers
    ... I would still want to know hot to accomplish this using a script. ... >>I need to create a script that will run a set of commands at a few remote ... >> servers then reboot the servers. ... >> I will be running the same commands at all the remote servers. ...
    (microsoft.public.windows.server.scripting)
  • Re: configuration of 2 remote sites
    ... The users at the remote siites will need to access ... You should configure the sites and assign the proper subnets ... to these sites and then use IFM to promote the new additional servers, ... you're using different subnets you may want to setup WINS at these remote ...
    (microsoft.public.windows.server.active_directory)
  • Re: What happens to my W2K domain controllers
    ... Make sure you make the remote dc's gc's as well ... >> offices (running AD-integrated DNS) ... > 2003 member servers. ... >> 8) Run dcpromo on all four old W2k DCs to demote them to member servers. ...
    (microsoft.public.windows.server.active_directory)

Quantcast