--- title: "Remove-EmailMessageAttachment" slug: "scripting-remove-emailmessageattachment" tags: ["Enterprise Only"] updated: 2025-07-16T20:36:29Z published: 2025-07-16T20:36:29Z canonical: "help.agilityblue.com/scripting-remove-emailmessageattachment" --- > ## 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-EmailMessageAttachment ## Summary Deletes an existing email message attachment. ```powershell Remove-EmailMessageAttachment    -Id ``` Returns nothing. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | Int32 | Yes | The email message attachment id. | ## Examples ### Delete an existing email message attachment ```powershell Remove-EmailMessageAttachment -Id 1 ```