I have the tool called poweroff. The software is freeware. It works great for me. I schedule it to shut down at a certain time in my computer lab... It also supports wakeup on lan, reomote shutdown, restart....
email me and I will send it to you.
tuan_huyEmail Removed