Task Scheduler is a Windows tool that allows you to Create and automate any routine tasks on a chosen computer. Task Scheduler is mainly used to run any monitoring tools, and for maintenance tasks such as disk defragmentation, disk Clean-up, and to install windows updates. Also, you can use the Task Scheduler to execute tasks such as starting an application, sending an email message, run commands, to execute scripts at a particular day and time, or showing a message box.
Task Scheduler can be scheduled in response to the following events or triggers. At a Specific Time. At a specific time on a daily schedule At a specific time on a weekly schedule At a specific time on a monthly schedule At any Specific Time. When the system is booted. When the computer enters an idle state. When a user Logs on. When the task is registered. You can create tasks and schedule based on the above response. Tasks can be saved and if you want to can import or export the task from one Computer to another. If you don’t want the Scheduled tasks you can always have the option to remove it from your computer. This article will guide you to Delete Scheduled task Using PowerShell.
 Delete Scheduled task Using PowerShell:
To delete any scheduled task in normal way, you can directly open the Task Scheduler in elevated mode.
And from the left hand side click on the Task Scheduler library and from the right hand side choose the Name of the Task.
Right-click on any Task and Choose Delete. This will permanently delete the Scheduled task. But in this article, we are going to PowerShell to delete the Scheduled task.
Open PowerShell in Elevated Mode and type the following command and hit enter.
Get-ScheduledTask -TaskName "MyTask"
If you don’t know the TaskName just open the Task Scheduler Library and replace the MyTask with your actual Task Name. This command will show the details of the particular task.
If you are getting the correct Task details then proceed with the next command to delete the task.
Unregister-ScheduledTask -TaskName "MyTask" -Confirm:$false
Copy-paste the above-mentioned command in the PowerShell and hit enter. This command will delete the Scheduled task from the Task Scheduler.