Exchange 2013 delete all sent email from one user to all users in domain.

So I was asked to do something funky in exchange. The owner is selling the company  and he is worried one of his employees might come back and take him to court. He occasionally sends out border line jokes or makes border line comments. His task to me:  Delete from the server every email I  have ever sent my employees. I guess I can log into every computer and delete from outlook but is there an easier way?

Thank you much.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

StuartTechnical Architect - CloudCommented:
Does he also plan to delete any journal mailboxes, archives, backups and also scan for any PST backup taken on and off prem?

If you just want to search current mailboxes you should take a look at this -
Jakob DigranesSenior ConsultantCommented:
You can search and delete all emails from mailboxes.

First - give yourself permissions to do so;
create a group and add you user to that group
New-ManagementRoleAssignment -Name "Import Export Admin" -SecurityGroup "NameOfYourGroup" -Role "Mailbox Import Export"

First, search and log all emails found, just to make sure
Get-Mailbox -Server  "*Server*" | Search-Mailbox -SearchQuery 'Sender:"FROMADDRESS"  -targetmailbox "YourAdminMailbox" -targetfolder "LogResultFolder" -logonly -loglevel full

(Target mailbox is where result is posted)

Then - to delete:
Get-Mailbox -Server  "*Server*" | Search-Mailbox -SearchQuery 'Sender:"FROMADDRESS"  -DeleteContent

more here:
and here

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jclsandiegoAuthor Commented:
Thank you!!
jclsandiegoAuthor Commented:
Looking for some follow up help. I created a test email and preceded to run the command.
After I press enter I get this:

Get-Mailbox -Server  "*exchange*" | Search-Mailbox -SearchQuery 'Sender:""  -DeleteContent
>> _

a blinking cursor on the next line after the >>
no errors.

 Am I missing a step?
Jakob DigranesSenior ConsultantCommented:
you're missing a '

you write: Get-Mailbox -Server  "*exchange*" | Search-Mailbox -SearchQuery 'Sender:""  -DeleteContent

you shoul write
Get-Mailbox -Server  "*exchange*" | Search-Mailbox -SearchQuery 'Sender:"" '-DeleteContent
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Wireless Hardware

From novice to tech pro — start learning today.