how to set pc to turn off at a certain time code example Example: how to turn off pc at specific time shutdown -s -t <TimeInSeconds>