Deploy a Scheduled Task to Shutdown a Server at a Sepecified Date & Time

schtasks /create /S servername /RU SYSTEM /TR "shutdown /s /t 60 /f /d p:0:0" /SD 10/02/2007 /ST 19:07:00 /SC ONCE /TN ADHOC-SHUTDOWN /Z /F

This will create a scheduled task on the remove server "servername" called "ADHOC-SHUTDOWN" that will run the command "shutdown /s /t 60 /f /d p:0:0" with the SYSTEM account on 10/02/2007 at 19:07 , Deletes the task if it is not scheduled to run again (/Z) and Forcefully creates the task and suppresses warnings if the specified task already exists. (/F).