best business builder

Use PowerShell to disable scheduled tasks

How can I use Windows PowerShell to disable a scheduled task?

Use the Disable-ScheduledTask cmdlet and specify the task name, for example:

Disable-ScheduledTask -TaskName “SystemScan”

 

 

How can I use Windows PowerShell to disable all scheduled tasks in a particular folder?

Use the Get-ScheduledTask cmdlet to enumerate the scheduled tasks in the folder, and then pipe the objects to the Disable-ScheduledTask cmdlet, for example:

Get-ScheduledTask -TaskPath “\UpdateTasks\” | Disable-ScheduledTask


Got a project that needs expert IT support?

From Linux and Microsoft Server to VMware, networking, and more, our team at CR Tech is here to help.

Get personalized support today and ensure your systems are running at peak performance or make sure that your project turns out to be a successful one!

CONTACT US NOW
one click social media designs