Bird
0
0

What will this command do?

medium📝 Command Output Q5 of 15
PowerShell - System Administration
What will this command do?
Stop-Service -Name 'wuauserv' -Force
AReturns an error because -Force is invalid
BStarts the Windows Update service
CDisplays the status of the Windows Update service
DForcefully stops the Windows Update service
Step-by-Step Solution
Solution:
  1. Step 1: Understand Stop-Service cmdlet

    Stop-Service stops a running service.
  2. Step 2: Effect of -Force parameter

    -Force forces the service to stop even if dependent services exist.
  3. Final Answer:

    Forcefully stops the Windows Update service -> Option D
  4. Quick Check:

    -Force forces service stop = A [OK]
Quick Trick: Use -Force to stop stubborn services [OK]
Common Mistakes:
  • Assuming -Force starts the service
  • Thinking it shows status instead of stopping
  • Believing -Force is invalid parameter

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes