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

Remove-EmailMessage

  • Dark
    Light
  • PDF

Article summary

Summary

Deletes an existing email message.

Remove-EmailMessage
    -Id

Returns nothing.

Parameters

Parameter

Type

Required?

Notes

Id

Int32

Yes

The email message id.

Examples

Delete an existing email message

Remove-EmailMessage -Id 1