export exchange mailbox message to csv

How do I export the message body of a mailbox message from exchange 2007 using powershell?
thom68Asked:
Who is Participating?
 
gupnitCommented:
Hi,
In that case Message Tracking Logs would be your friend, after all this is what they are meant to do. Refer http://www.msexchange.org/tutorials/Exchange-2007-Message-Tracking-Part1.html
THanks
Nitin
0
 
AkhaterCommented:
you cannot exchange doesn't give you access to the message body
0
 
a1aaitCommented:
You can extract mailbox contents to a PST with EXMERGE, then use Outlook to access the message within the PST.  You could then "save as" or copy to the destination.  

There are ways to access a PST file or Outlook Profile via ODBC.

Exmerge basics:
http://www.msexchange.org/tutorials/ExMerge-Recover-Mailbox.html

Info on accessing Exchange and Outlook with MS Access and ODBC:
http://technet.microsoft.com/en-us/library/cc722917.aspx
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
AkhaterCommented:
you cannot use exmerge with exchange 2007 you have to use the export-mailbox cmdlet
0
 
gupnitCommented:
Hi,
ExMerge and Export-Mailbox both work, though yes Export-Mailbox is the command to be used from 2007 onwards !
With Export-Mailbox use the filters to get a particular message to a pst. Refer examples at bottom http://technet.microsoft.com/en-us/library/aa998579.aspx
Is this what u want!
Thanks
Nitin
0
 
thom68Author Commented:
We are trying to export a technical difficulty mailbox so that we can sort the messages by a user that would be in the message. This is the reason that we are looking for a CSV export so that we can view it quickly and not go through the sorting of nearly 10K messages a day.
0
 
AkhaterCommented:
I am sorry to have to say it again you cannot export the message body from exchange.

if the email is delivered to a mailbox the best you can do is export this mailbox to a PST
0
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.

All Courses

From novice to tech pro — start learning today.