Link to home
Start Free TrialLog in
Avatar of every1isevil2
every1isevil2Flag for United States of America

asked on

Shutdown script for Windows 2003 servers.

I have 21 servers that I wish to shutdown but initiating a shutdown script.  However I am stuck on two things;

A) Should I use Vbscript or a simple batch file

B) Depending on the answer above what is the exact syntaxt that will work?    

I have a rudimentary understanding of the shutdown command (eg. shutdown -f -t 00] but I am not quite sure how to send this to remote machine  but I know the functionality is there.  Thanks you.
Avatar of mikef147
mikef147
Flag of United States of America image

The /m \\servername is the switch to specify another compuer.
Avatar of every1isevil2

ASKER

Would you be able to create an exact syntax sample for me?  And how can I add multiple servers to that?

/m \\servername /m \\servername  OR /m \\servername \\servername

Thanks again.
ASKER CERTIFIED SOLUTION
Avatar of mikef147
mikef147
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
Great thank you.