====== Batch - Auto Restart/Shutdown ======
**General Information**
Different ways to restart or shutdown from the cmd prompt. (could also put into a batch script)
**Checklist**
* OS: Windows XP/7
----
===== The Code =====
__Auto Restart After 60 Minutes__
shutdown -r -t 3600 -c "Performing System Maintenance. Computer will automatically restart after the countdown. | IT Department |"
__Auto Shutdown After 30 Seconds__
shutdown /s /t 30 /d p:0:0 /c "Nightly auto shutdown in 30 seconds. (cmd prompt, 'shutdown /a to abort')"
__Abort shutdowns or restarts__
shutdown -a