FDV here, too lazy to log in...
http://www.pc-pipeline.com/files/SHUTDOWN.EXEsyntax: SHUTDOWN.EXE /L
Schedule it like any other task.
Unfortunately this will likely only bring you to \"It is ok to safely shutdown the computer.\"
So, here is the answer from experts-exchange that I copped:
http://www.experts-exchange.com/Operating_...Q_20320249.html--------
Create a new text document on your desktop.
Rename it to shutdown.vbs
Right-click on it and choose edit.
Copy and paste the following code into the document and save it.
Set colOperatingSystems = GetObject(\"winmgmts:{(Shutdown)}\").ExecQuery(\"Select * from Win32_OperatingSystem\")
For Each objOperatingSystem in colOperatingSystems
ObjOperatingSystem.Win32Shutdown(

Next
You can now schedule shutdown.vbs to run whenever you want.
This should when run close everything, shut down, and power off.