shut down windows 10 through command prompt code example Example: full shutdown windows 10 cmd shutdown /s /f /t 0