J
Jordan
I have a couple of batch files on a server that run nightly, the first one
parses a NET VIEW /DOMAIN:MYCOMPANY command to get the list of the
computers that are still powered on. This then feeds it into a second batch
file that will see if it is on an exception list and if not it will issue
the command to shut it down in 5 minutes:
shutdown -m \\ComputerName -t 300 -c "Turning off" -s
This works great, but just in case I have someone that needs to stop the
shutdown I would like an easy way for them to do it rather than running
"shutdown /a". Is there a way to pop up something on their screen that is a
countdown and if they click something within the 5 minutes it does not shut
them down?
parses a NET VIEW /DOMAIN:MYCOMPANY command to get the list of the
computers that are still powered on. This then feeds it into a second batch
file that will see if it is on an exception list and if not it will issue
the command to shut it down in 5 minutes:
shutdown -m \\ComputerName -t 300 -c "Turning off" -s
This works great, but just in case I have someone that needs to stop the
shutdown I would like an easy way for them to do it rather than running
"shutdown /a". Is there a way to pop up something on their screen that is a
countdown and if they click something within the 5 minutes it does not shut
them down?