windows 10 command line shutdown immediately code example Example: full shutdown windows 10 cmd shutdown /s /f /t 0