The “shutdown” command can be used with a range of switches to shutdown, reboot and more, including the ability to force applications closed, to display a message on shutdown, and to specify the number of seconds you’d like before the operation happens.
Open Command Prompt(cmd)
Type shutdown -s -t (time in second) -> Enter
Example: shutdown -s -t 3600 would shutdown your PC in one hour.