I have the need to export all emails in my Exchange 2010 database, from all users, that were sent to or from a specific domain. I suspect there is a powershell script that can accomplish this task, but I've had no success in finding it. Any help would be greatly appreciated. Ideally, a CSV export that I can audit with Excel would be the most valuable to me. HTML might work as well.