timer untill computer turns off code example Example: how to turn off pc at specific time shutdown -s -t <TimeInSeconds>