#365 delete email item from user’s mailbox

Get-Mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery “From: ” -DeleteContent

Search-Mailbox -Identity user -SearchQuery ‘Received: and Subject: ‘ -DeleteContent