Create .bat Auto Shutdown Script
Posted on 2014-02-08
I want to create a .bat script that will source a text file containing computer names on the network to shutdown.
.bat file would be something like this:
"run following command on computers in text file:
c:\windows\system32\shutdown -s -f -t 60
and text file would be something like this:
So, I would schedule the bat file to run every night on the company server, and it would shutdown all the computers at my work. I have seen this done before, and it works great I just need some help with the syntax.