Link to home
Start Free TrialLog in
Avatar of jclsandiego
jclsandiegoFlag for United States of America

asked on

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.

Jorge
Avatar of Stuart
Stuart
Flag of United Kingdom of Great Britain and Northern Ireland image

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 - https://technet.microsoft.com/en-us/library/dd298059(v=exchg.150).aspx
ASKER CERTIFIED SOLUTION
Avatar of Jakob Digranes
Jakob Digranes
Flag of Norway image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jclsandiego

ASKER

Thank you!!
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:"test@xyx.com"  -DeleteContent
>> _

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

 Am I missing a step?
you're missing a '

you write: Get-Mailbox -Server  "*exchange*" | Search-Mailbox -SearchQuery 'Sender:"test@xyx.com"  -DeleteContent

you shoul write
Get-Mailbox -Server  "*exchange*" | Search-Mailbox -SearchQuery 'Sender:"test@xyx.com" '-DeleteContent