--- title: "Remove-Task" slug: "scripting-remove-task" updated: 2025-07-16T12:45:18Z published: 2025-07-16T12:45:18Z canonical: "help.agilityblue.com/scripting-remove-task" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.agilityblue.com/llms.txt > Use this file to discover all available pages before exploring further. # Remove-Task ## Summary Deletes an existing task. ```powershell Remove-Task    -Id ``` Returns nothing. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | Int32 | Yes | The task id. | ## Examples ### Delete an existing task ```powershell Remove-Task -Id 1 ```