0
0
PowerShellscripting~5 mins

Scheduled task management in PowerShell - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What PowerShell cmdlet is used to create a new scheduled task?
The cmdlet <code>Register-ScheduledTask</code> is used to create and register a new scheduled task in PowerShell.
Click to reveal answer
beginner
How do you list all scheduled tasks on a Windows machine using PowerShell?
Use the cmdlet <code>Get-ScheduledTask</code> to retrieve a list of all scheduled tasks on the system.
Click to reveal answer
intermediate
What is the purpose of New-ScheduledTaskTrigger in PowerShell?
It creates a trigger object that defines when the scheduled task will run, such as at logon, daily, or at a specific time.
Click to reveal answer
intermediate
How can you disable a scheduled task using PowerShell?
Use Disable-ScheduledTask -TaskName 'TaskName' to disable a scheduled task so it won't run until enabled again.
Click to reveal answer
intermediate
What cmdlet would you use to remove a scheduled task permanently?
The cmdlet <code>Unregister-ScheduledTask -TaskName 'TaskName' -Confirm:$false</code> removes the scheduled task permanently without asking for confirmation.
Click to reveal answer
Which cmdlet creates a new scheduled task trigger in PowerShell?
AStart-ScheduledTask
BRegister-ScheduledTask
CGet-ScheduledTask
DNew-ScheduledTaskTrigger
How do you list all scheduled tasks on your computer using PowerShell?
AList-ScheduledTask
BGet-ScheduledTask
CShow-ScheduledTask
DFind-ScheduledTask
Which cmdlet disables a scheduled task so it won't run?
ARemove-ScheduledTask
BStop-ScheduledTask
CDisable-ScheduledTask
DPause-ScheduledTask
What parameter is needed to remove a scheduled task without confirmation?
A-Confirm:$false
B-Force
C-NoPrompt
D-Silent
Which cmdlet runs a scheduled task immediately?
AStart-ScheduledTask
BInvoke-ScheduledTask
CRun-ScheduledTask
DExecute-ScheduledTask
Explain how to create a scheduled task in PowerShell that runs a script daily at 7 AM.
Think about triggers, actions, and registration steps.
You got /3 concepts.
    Describe how to disable and then remove a scheduled task using PowerShell commands.
    Focus on the cmdlets for disabling and unregistering.
    You got /3 concepts.