Powershell CMDlet to Export catch-all (e-journal) emails as an PST

Hi,

We have setup an catch-all email box (e-journal).  Can you provide me with the Powershell cmdlet to export/exmerge the emails to an pst file.  This pst file will then be imported into our archiver appliance.

Inbox currently has ~5,000+ emails, and there are subfolders that contains up-to 107,900 emails.  Our archiver appliance had recently went down, and had to replace it.  Since we ran into a few issues, we had to move emails out of the inbox, so that it does not get stuck.

Running Exchange 2010.  Is it possible to export it to the Cloud (OneDrive) or using ECP to do so?

Thanks in advance.




Henry
HelpMeWithSolutionsAsked:
Who is Participating?
 
Will SzymkowskiSenior Solution ArchitectCommented:
This is a two step process.

You need to give you account access to Export/Import permissions Use the command below...
New-ManagementRoleAssignment –Role "Mailbox Import Export" –User Administrator

Open in new window


Then use the below command to export the mailbox to PST.
New-MailboxExportRequest -Mailbox <alias> -FilePath \\PSTFileShare\filename.pst

Open in new window


You can then view the process using the below command...
Get-MailboxExportRequest

Open in new window


Will.
0
 
HelpMeWithSolutionsAuthor Commented:
Will, thank you for the quick response.  The area where I am uncertain of is when I tried to save the file to one of the NAS in our network, using "-FilePath \\NAS\Subfolder\FileName.pst" argument, I received this error, http://screencast.com/t/hABmZJuv.

Thanks again.



Henry
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
You did not copy my script. The error messages states "New-MailboxRequest" is not a recognized cmdlet. That is correct cmdlet is New-MailboxExportRequest.

That is your issue.

Will.
0
 
HelpMeWithSolutionsAuthor Commented:
Don't I feel like a dumba....Thanks Will!



Henry
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.