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

ParameterTypeRequired?Notes
IdInt32YesThe email message id.

Examples

Delete an existing email message

Remove-EmailMessage -Id 1