how to shut down pc using command prompt windows 10 code example Example: full shutdown windows 10 cmd shutdown /s /f /t 0