Bird
0
0

What does the PowerShell command Stop-Service -Name 'Spooler' do?

easy📝 Conceptual Q2 of 15
PowerShell - System Administration
What does the PowerShell command Stop-Service -Name 'Spooler' do?
AStops the Print Spooler service
BStarts the Print Spooler service
CRestarts the Print Spooler service
DDisplays the status of the Print Spooler service
Step-by-Step Solution
Solution:
  1. Step 1: Identify the cmdlet used

    Stop-Service is used to stop a running service.
  2. Step 2: Understand the parameter

    -Name 'Spooler' specifies the Print Spooler service.
  3. Final Answer:

    Stops the Print Spooler service -> Option A
  4. Quick Check:

    Stop-Service with -Name stops that service [OK]
Quick Trick: Stop-Service stops a service by its name [OK]
Common Mistakes:
  • Confusing Stop-Service with Start-Service
  • Thinking it restarts the service
  • Assuming it shows status instead of stopping

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes