1. Create your list of servers in a text file one per line with no extra spaces or characters.
2. Run the batch file under an ID with administrative access to the servers.
NOTE: This is the bare script to perform the action. You may want to add logging and error checking to the script. Adjust the shutdown command line meet your requirements.
REM — Parse list of servers
for /f %%a in (path\ServerName.txt) do CALL :RbtMe %%a
REM — Restarting remote system.
shutdown -r -t 05 -c “Rebooting for BLAH” -f -m %1
See <a href=”http://www.computerperformance.co.uk/w2k3/shutdown.htm”>this website</a> for information on remote shutdown/reboots using the Windows shutdown command.