Exchange 2010 + delete a specific e-mail from all the boxes
1. You must have a special permissions for it: import-export mailboxes, see it on the MS Technet.
2. Check that it will be work for this e-mail correctly:
Get-Mailbox-ServerYourServer| Search-Mailbox-SearchQuery'Subject:"YouSubject" and Body:"Phrase in body"'-targetmailbox"YourOwnMailboxForReport"-targetfolder"Inbox"-logonly-loglevelfull
After this command you’ll receive a letter with CSV-log. Check it. If everythin is ok go to the next step.
3. Delete the message:
Get-Mailbox-ServerYourServer| Search-Mailbox-SearchQuery'Subject:"YouSubject" and Body:"Phrase in body"'-targetmailbox"YourMailboxForReport"-targetfolder"Inbox"-DeleteContent-loglevelfull
Windows Server 2012 + Terminal Services + Sessions script Exchange 2010 + OWA + Time interval for caching credentials
Comments are currently closed.