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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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

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

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
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
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
Internet / Email Software

From novice to tech pro — start learning today.