CmdID / PowerShell / Cmdlets / Export
Export-QuarantineMessage
Use the Export-QuarantineMessage cmdlet to export quarantined messages and files from your cloud-based organization. Exchange PowerShell reference
From the Exchange PowerShell reference 9 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 export.-CompressOutputThe CompressOutput switch exports the message as a compressed .zip file.-EntityTypeThe EntityType parameter filters the results by EntityType.-ForceConversionToMimeThe ForceConversionToMime switch converts exported plain text messages to MIME formatting.-PasswordThe Password parameter specifies the password that's required to open the exported message.-PasswordV2The PasswordV2 parameter specifies the plain text value of the password that's required to open the exported message.-ReasonForExportThe ReasonForExport parameter specifies why the message was exported.-RecipientAddressThe RecipientAddress parameter filters the results by the recipient's email address.