I have a Microsoft Exchange server 2007 running on Windows 2003 R2. I need to search everyone's emails for legal discovery purposes. I'd like to do this in some centralized fashion with administrator rights rather than going account to account. Is there a way to do this?
You can use the Export-Mailbox command to extract messages form all mailboxes in a mailbox database, that meet your search critera. This will create a folder for each user that will contain the emails that meet this criteria. To do this, you need to run the following command from the Exchange command line
The above command will search all mailboxes in DB1 for any emails that meet the search keywords critera, it will then copy these emails to folder call MyData in the Administrators mailbox. Fields marked with <> should be replaced with your own values.
For more details, have a read of this article.