cmd shutdown command timer code example
Example 1: windows shutdown command timer
shutdown -s -t SECONDS
Example 2: cmd shutdown
# Schedule an automatic shutdown (7200 = seconds)
shutdown /s /t 7200
# Cancel Auto Shutdown Schedule
shutdown -a
shutdown -s -t SECONDS
# Schedule an automatic shutdown (7200 = seconds)
shutdown /s /t 7200
# Cancel Auto Shutdown Schedule
shutdown -a