Exmerge of MB data to NAS

need to exmerge all data from all mailboxes and send the pst to a mapped drive, which refers to a NAS device.

need the command syntax to send 1 mailbox to test the activity and and another to account for all mailboxes in one command if possible.

if no way to send to external drive in the command than since disk space is short the command to issue one at a time will do fine
Who is Participating?
SeanConnect With a Mentor System EngineerCommented:
If it's just exchange 2003 then its all GUI...if its 2007 or higher then you will need to use powershell. if its powershell and you are on exchange 2010 sp2 you will need to mark the drive as shared and use this command:

new-mailboxexportrequest -mailbox username -filepath "\\computername\share\user.pst"

if you want to do everyone at once:

foreach ($i in (Get-Mailbox -result unlimited)) {New-MailboxExportRequest -Mailbox $i -FilePath "\\computername\share\($i).pst"}

if its 2010 sp1 or 2007 the commands are similar but replace new-mailboxexportrequest with Export-Mailbox
SeanSystem EngineerCommented:
You should be able to just use exmerge and point it to the mapped drive.
jlaveryAuthor Commented:
great.. can you pass along the proper command syntax to do so?

Can you double check the size of the individual mailboxes before you start ? You will lose information if you don't check if any mailbox is over 2 GB (in case you don't use a special procedure to run it in multiple times to create multiple PST files)
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.