CmdID / PowerShell / Cmdlets / Delete
Delete-QuarantineMessage
Use the Delete-QuarantineMessage cmdlet to delete quarantine messages from your cloud-based organization Exchange PowerShell reference
From the Exchange PowerShell reference 7 parameters Its page in the reference
Parameters
-IdentitiesThe Identities parameter identifies quarantined messages for bulk operations.-IdentityThe Identity parameter specifies the quarantined message that you want to delete.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-EntityTypeThe EntityType parameter filters the results by EntityType.-HardDeleteThe HardDelete switch specifies the message is permanently deleted and isn't recoverable.-RecipientAddressThe RecipientAddress parameter filters the results by the recipient's email address.-WhatIf, -wiThis parameter is reserved for internal Microsoft use.