shutdown /s /t <time>
In this command time should be mentioned in seconds.
In the above example I used the value 3600 as time. That means computer turns off after 3600 seconds from now(1 hour from now).
Not only shutdown other power operations like log off and restart also can be done by this command. But those operations cannot be scheduled.
Shutdown: shutdown /s .t time
Restart: shutdown /r
Log off: shutdown /l
Hibernate: shutdown /h
For more help on command shutdown type,
shutdown help
or
shutdown /?
Comments
Post a Comment