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

Exchange: Cleanup Recoverable Emails

If you want to clean up the recoverable email (or dumpster, recovery folder, recycle bin), you can run the following script to clean up that folder.  The following command will make a copy of the emails in dumpster to the target mailbox. Search-Mailbox -Identity test -SearchDumpsterOnly -TargetMailbox “Discovery Search Mailbox”…

Continue reading

AutoIt – Make a script to automate your process

I am introduced to AutoIT today.  This is a very cool and free programming language editor/compiler to help you automate processes on your computer. To download AutoIT, please following this link https://www.autoitscript.com/site/autoit/downloads/ Below is the AutoIT 101 that you can learn how to use and make your first auto script.

Continue reading