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 *

ERROR: si-captcha.php plugin: GD image support not detected in PHP!

Contact your web host and ask them to enable GD image support for PHP.

ERROR: si-captcha.php plugin: imagepng function not detected in PHP!

Contact your web host and ask them to enable imagepng for PHP.