shutdown windows 10 command line code example
Example 1: cmd shutdown
# Schedule an automatic shutdown (7200 = seconds)
shutdown /s /t 7200
# Cancel Auto Shutdown Schedule
shutdown -a
Example 2: shutdown windows terminal
shutdown -s -t 0
Example 3: shutdown in 10 minutes windows cmd
shutdown –s –t <seconds>