how to shutdown computer using cmd windows 10 code example Example: full shutdown windows 10 cmd shutdown /s /f /t 0