Exchange: Delete Emails with Search Terms

If you need to delete emails through the Exchange shell, you try to the following command.  This command will delete any email that is older than January 1st, 2015. search-mailbox -id user1 -SearchQuery “Received < 01/01/2015” -DeleteContent -Force If you want to make a copy of the deleted emails, you…

Continue reading