Windows

shutdown command in Windows

I use the following shutdown command to turn off my computer after a certain timeperiod:
[sourcecode language=”powershell”]
shutdown /s /t 3600
[/sourcecode]

/s means that we want to shutdown the pc
/t indicates a delay in the time that we want to shutdown/restart. In this case, we want the local pc to shutdown in 3600 seconds (1 hour).

Here’s a good reference for other options available to the shutdown command:
http://pcsupport.about.com/od/commandlinereference/p/shutdown-command.htm

Leave a Reply

Your email address will not be published. Required fields are marked *

*