Remove-EmailMessage

Prev Next

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