shutdown command windows 10 code example
Example 1: windows 10 shut down after 1 hour
Open CMD :
Shutdown after 1 hour:
shutdown -s -t 3600
Shutdown after 2 hours:
shutdown -s -t 7200
Shutdown after XXXX seconds:
shutdown -s -t XXXX
Example 2: shutdown in 10 minutes windows cmd
shutdown –s –t <seconds>
Example 3: how to power down pc using cmd
shutdown /s