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?
 
MAS (MVE)EE Solution GuideCommented:
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
 
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
 
Leroy LuffHead of IT & DIgitalAuthor Commented:
Appreciated
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.