hi,
have a hybrid scenario, exchange 2013 and office 365
what command should I use to search and delete an email from the organization mailbox i.e. I do not want that email to be in any users inbox.
I have tried this command but it does not work, it says search-mailbox is not recognized as the name of the command let.
Get-Mailbox -ResultSize unlimited | Search-Mailbox -SearchQuery 'Subject:"Download this file"' -DeleteContent
kindly assist.
Kind Regards, Khuzema R.