--- title: "Remove-Comment" slug: "scripting-remove-comment" updated: 2026-01-20T20:26:54Z published: 2026-01-20T20:26:54Z canonical: "help.agilityblue.com/scripting-remove-comment" --- > ## 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-Comment > [!NOTE] > Not Task Comments > > These comments relate to non-task comments. Task comments have a dedicated object, found [here](/v1/docs/scripting-remove-taskcomment). ## Summary Deletes an existing comment. ```powershell Remove-Comment    -Id ``` Returns nothing. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | Int32 | Yes | The comment id. | ## Examples ### Delete an existing comment ```powershell Remove-Comment -Id 1 ```