shutdown time cmd windows code example Example 1: windows shutdown command timer shutdown -s -t SECONDS Example 2: full shutdown windows 10 cmd shutdown /s /f /t 0