Bird
0
0

Which cmdlet is used to disable an existing scheduled task in PowerShell?

easy📝 Conceptual Q2 of 15
PowerShell - System Administration
Which cmdlet is used to disable an existing scheduled task in PowerShell?
ARemove-ScheduledTask
BStop-ScheduledTask
CDisable-ScheduledTask
DSuspend-ScheduledTask
Step-by-Step Solution
Solution:
  1. Step 1: Identify cmdlet for disabling tasks

    The cmdlet Disable-ScheduledTask is designed to disable a scheduled task without deleting it.
  2. Step 2: Differentiate from other cmdlets

    Stop-ScheduledTask stops a running task, Remove-ScheduledTask deletes it, and Suspend-ScheduledTask is not a valid cmdlet.
  3. Final Answer:

    Disable-ScheduledTask -> Option C
  4. Quick Check:

    Disable-ScheduledTask = Disable task [OK]
Quick Trick: Disable-ScheduledTask turns off task without deleting it [OK]
Common Mistakes:
  • Using Stop-ScheduledTask to disable permanently
  • Confusing Remove with Disable
  • Assuming Suspend-ScheduledTask exists

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes