How do I shut down or restart computer via CMD?

To Open CMD window from Windows 8 or 10

◘ Go to the Start menu

◘ Type cmd in the Search field and Press Enter

From an open command prompt window:
◘ Type shutdown, followed by the option you wish to execute. 
◘ To shut down your computer, type shutdown /s
◘ To restart your computer, type shutdown /r
◘ To log off your computer type shutdown /l
◘ For a complete list of options type shutdown /?
◘ After typing your chosen option, press Enter. The computer will execute your desired task
◘ Have Fun !

Leave a Comment