To make your computer shutdown at a particular time, type taskschd.msc is start search and hit Enter to open the Task Scheduler. In the right panel, click on Create Basic Task.
Give it name and a description if you wish and click Next.
When asked When do you want the task to start, select One time (FOR Screehub Do Weekly). Click Next.
Select the Start date and time.
Clicking Next will bring you to the Action page. Here select Start a program and click on Next.
Here type shutdown on the Program/script space and /r /f /t 0 in the Add arguments box.
If you want the shutdown to commence after say 60 sec, type 60 instead of 0 here.
(although you are typing shutdown the /r denotes restart so the system will restart instead of shutdown if you following this guide)
To initiate a shutdown instead of restart put /s instead of /r
Click Next to review all and finally click Finish. Your computer will shutdown/reboot at the designated day and time.
NOTE: In a CMD window, you may run shutdown /? to see all the available switches. To schedule restarts, you need to use the /r parameter instead of the /s parameter. To log off the current user use /l.