Exporting Mailboxes from Exc 07 to PST's

Dear Experts,

I need to export all mailboxes of our old exchange 2007 server -  I want to decommission the server.

I know how to do it for a single mailbox from the shell but is there an option to do all existing mailboxes on the exc 2007 server? There is about 60 mailboxes and I would ideally would want to export all of them in 1 batch.

Thank you
LVL 5
Leroy LuffHead of IT & DIgitalAsked:
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.

Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Hi,

You can use Export-mailbox powershell command

The Export-Mailbox cmdlet exports all empty folders and special folders to the target location. The special folders are the following:

•Inbox
•Deleted Items
•Drafts
•Junk E-Mail
•Outbox
•Sent Items
•Journal
•Calendar
•Contacts
•Notes
•Tasks

Create a text file like mailbox.txt with your alias names like:

 mailbox1
 mailbox2
 mailbox3
.......etc

Then from the powershell command Enter

mailbox.txt | Export-mailbox -PSTFolderPath C:\Exportsfolder

https://social.technet.microsoft.com/Forums/exchange/en-US/999d6f89-6878-4efc-9a49-5442275b61af/exporting-multiple-mailboxes-at-a-time-multiple-powershell-instances-exchange-2007?forum=exchangesvrgenerallegacy

Regards
0
MASEE Solution Guide - Technical Dept HeadCommented:
Export all mailboxes from the selected mailbox database:
Get-Mailbox -Database "PCBOX\First Storage Group\Mailbox Database" | Export-Mailbox -PSTFolderPath d:\temp\export

Open in new window

Entire Exchange organization
 
Get-Mailbox | Export-Mailbox -PSTFolderPath d:\temp\export

Open in new window


But for all these you need Exchange2007-SP1(32bit) management tools installed on a different PC/Server
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
Leroy LuffHead of IT & DIgitalAuthor Commented:
Appreciated
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.