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

Parameter

Type

Required?

Notes

Id

Int32

Yes

The email message attachment id.

Examples

Delete an existing email message attachment

Remove-EmailMessageAttachment -Id 1