windows shutdown -a code example
Example 1: windows shutdown command timer
shutdown -s -t SECONDS
Example 2: 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