Export Exchange 2010 emails from all users in the domain sent to or from a specified domain.

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.
Brook_LaneAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MadHatterAdminCommented:
Look up the export-mailbox command and it's switches. It will let you pull those messages out of users mailboxes or leave then there and export a subject line or originator aka senders messages to a pst for you to open up in outlook and sift thru.
0
MadHatterAdminCommented:
One last thing, depending the size of your user base and hardware... it will run for a WHILE.
0
Brook_LaneAuthor Commented:
I wasn't able to find a simple solution to this in a short period of time, so I just moved on and never completed the export directly from Exchange. It was easier to just "print" the selected emails from a few users within Outlook to a PDF document and be done with it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Brook_LaneAuthor Commented:
My reason is that this website is forcing me to record a reason.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.