Home > Exchange > Useful Links in Migrating from Exchange 2007 to Exchange 2010 – Part 1 – Backing everything up to PST files “just in case.”

Useful Links in Migrating from Exchange 2007 to Exchange 2010 – Part 1 – Backing everything up to PST files “just in case.”

Exchange 2007 2010I’m helping a client migrate from an Exchange 2007 server to Exchange 2010 this week. I’m not going to document the entire process – lots of others have done that – but I am going to share some of the process and links I found helpful along the way, as every case is unique.

That said, here we go…

A little note on our environment. We have a slightly sick Exchange 2007 SP1 server that is not allowing backups and has a mirrored drive gone bad. That said, we wanted to be careful before we brought the Exchange 2010 server online.

First issue – Exchange 2010 cannot coexist with Exchange 2007 SP1. You have to be on SP2. Which, without a backup, we don’t want to upgrade to. So we’re going to export all user accounts to PST files before continuing. Some useful notes and links:

Here are some notes on the export process:

You have to run this on an 32 bit computer with the EX2007 System Admin tools installed, which you can get here:

Once all that is set up, here’s the command line we used in PowerShell to export all users. We upped the thread-count to run several at once.

Get-Mailbox | Export-Mailbox -PSTFolderPath x:\pst -MaxThreads 10

BEFORE YOU DO THAT, you might want to also grant your administrator account full access to all accounts. For some reason, ours didn’t have it… to give it the required access (after the fact, we ran this in PowerShell):

Get-Mailbox | Add-MailboxPermission -user Administrator -AccessRights FullAccess -InheritanceType All

Since we didn’t see this till after the fact, we will have to selectively rerun Export-Mailbox for some specific users. Here’s a good link on how to set this up using a text file: http://social.technet.microsoft.com/Forums/exchange/en-US/e0a8d7f6-5620-4b71-81fa-d82a56c4f5f6/script-to-export-the-mailboxs-in-exchange-2007-from-a-list-of-users

It wound up looking like this:

Users.txt:
username1
username2

And the command:

Get-Content users.txt | Get-Mailbox | Export-Mailbox -PSTFolderPath z:\pst\rerun -MaxThreads 10

…and now we wait.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: