cmd full shutdown code example
Example 1: cmd shutdown
# Schedule an automatic shutdown (7200 = seconds)
shutdown /s /t 7200
# Cancel Auto Shutdown Schedule
shutdown -a
Example 2: full shutdown windows 10 cmd
shutdown /s /f /t 0
# Schedule an automatic shutdown (7200 = seconds)
shutdown /s /t 7200
# Cancel Auto Shutdown Schedule
shutdown -a
shutdown /s /f /t 0