PowerTip: Use PowerShell to Disable Scheduled Task

Doctor Scripto

Dr Scripto

Summary: Learn how to use Windows PowerShell to disable a scheduled task.

Hey, Scripting Guy! Question How can I use Windows PowerShell to disable a scheduled task?

Hey, Scripting Guy! Answer Use the Disable-ScheduledTask cmdlet from the Scheduled Task module, for example:

Disable-ScheduledTask -TaskName applog

Note  This cmdlet was introduced in Windows 8 and Windows Server 2012, and it requires admin rights.

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment