Bird
0
0

What does the PowerShell command Get-Service do?

easy📝 Conceptual Q11 of 15
PowerShell - System Administration
What does the PowerShell command Get-Service do?
AIt shows the status of services on the computer.
BIt starts a stopped service.
CIt stops a running service.
DIt deletes a service from the system.
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of Get-Service

    The Get-Service command lists services and their current status (running or stopped).
  2. Step 2: Compare with other commands

    Start-Service and Stop-Service change service states, but Get-Service only shows status.
  3. Final Answer:

    It shows the status of services on the computer. -> Option A
  4. Quick Check:

    Get-Service = Show service status [OK]
Quick Trick: Get-Service always lists service status, not start or stop [OK]
Common Mistakes:
  • Confusing Get-Service with Start-Service
  • Thinking Get-Service stops services
  • Assuming Get-Service deletes services

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes