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