On some computers there is an option in the BIOS to start computer and to shutdown you can always schedule shutdown.exe to run at a specific time. Task Scheduler - Create New Task
I actually have a batch file with the following code in and i have just got Windows task schedule to run it.
Just paste the above code into a text document and save the file as .bat
Note - Change the file type to All Types: