Use the CMD Prompt to Shut Down Windows – Windows Instructions