CompTIA A+ 220-1102 Practice Question
Which command should you use to safely turn off a Windows 10 computer from the command line?
shutdown /s /t 0
poweroff /h
halt
exit
Which command should you use to safely turn off a Windows 10 computer from the command line?
shutdown /s /t 0
poweroff /h
halt
exit
shutdown /s /t 0 - This is correct. The shutdown command with the /s switch initiates a full shutdown of the system. The /t 0 switch sets the delay to 0 seconds, meaning the shutdown occurs immediately.
poweroff /h - The poweroff command is not a native Windows command. It is commonly used in Linux to power off a system. In Windows, this command would not work.
halt - The halt command is used in Unix/Linux systems to stop the operating system. It is not a valid command in Windows.
exit - The exit command is used to close the Command Prompt or terminal window, not to shut down the computer.
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
All IT & Cybersecurity Package plans include the following perks and exams .
Our pricing is simple. Full access to all certifications and exams in each package, for one price.
As many practice tests for as many topics as you want.
Use study mode non-stop, no limits.
Access to our AI assistant, Bash, trained to help you pass your exam.
Track your scores over time in study mode and report cards.
See how you improve over time, and where you need to focus.
Access our store with even bigger discounts than before.
Unlimited access to all performance questions and be prepared for the real thing.
All IT & Cybersecurity Package plans include unlimited access to the following study materials.
Create an account or sign in to access our study materials.