Hi @Microsoft Q & A
You can try to run the following command, it will list all recipients and quarantined emails from last 30 days.
Get-QuarantineMessage -StartReceivedDate (Get-Date).AddDays(-30) | Group-Object -Property RecipientAddress | Select-Object Name,Count | Export-Csv -Path .\quarantined.csv
For more details please check the link below.
https://learn.microsoft.com/en-us/powershell/module/exchange/get-quarantinemessage?view=exchange-ps
Best Regards,
Dezhi
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation](https://aka.ms/msftqanotifications)"https://aka.ms/msftqanotifications)") to enable e-mail notifications if you want to receive the related email notification for this thread.