Remove-EmailMessageAttachment
  • 1 Minute to read
  • Dark
    Light
  • PDF

Remove-EmailMessageAttachment

  • Dark
    Light
  • PDF

Article summary

Summary

Deletes an existing email message attachment.

Remove-EmailMessageAttachment
    -Id

Returns nothing.

Parameters

ParameterTypeRequired?Notes
IdInt32YesThe email message attachment id.

Examples

Delete an existing email message attachment

Remove-EmailMessageAttachment -Id 1