Wednesday, 8 July 2009

Exchange 2007 - Interforest Mailbox Move

(don't be hasty with this process...Exchange 2007 Server is set to Africa-time)

Mailbox Migration from Exchange 2007 to another Exchange Server 2007 in a new domain.


$SourceCredentials = Get-Credential
domain\user

$TargetCredential = Get-Credential
domain\user

Move-Mailbox -TargetDatabase "mail1\First Storage Group\Users" -Identity username -GlobalCatalog server.domain.co.uk -SourceForestGlobalCatalog server.domain -NTAccountOU "OU=User Accounts,DC=domain,DC=company,DC=co,DC=uk" -SourceForestCredential $SourceCredential -TargetForestCredential $TargetCredential

CONFIRM
Are you sure you want to perform this action?
Moving Mailbox username to database mail1\First Storage Group\Users. The operation can take a long time and the mailbox will be inaccessible until the move is completed.

[Y] Yes [A] Yes to All [N] No [S] Suspend ?

"Opening source mailbox....."

AT the end the status message (right at the bottom of the confirmation) should say This mailbox has been moved to the target database.

Errors that I've encountered so far:

Failed to set basic mailbox information.

Mailbox was created as a "linked-mailbox" what is a linked-mailbox?
A linked mailbox is a mailbox in a seperate trusted forest.

How to convert a linked-mailbox to a regular mailbox?
Set-Mailbox UserXX -Type Room

You can use the following values for the Type parameter:

  • Regular
  • Room
  • Equipment
  • Shared
Mailbox Migration changes the Alias & Primary SMTP Address?

Give the server time to process the new mailbox (especially) in my case where the new Exchange server have not been in use for a few months...just sitting there.

You can view the Eventviewer to doublecheck

2 comments:

  1. Hi .. i will require to move across exchange server 2007 mailboxes to a new forest & this post is really useful.

    I just need 1 clarification . As I would be performing an inter-forest migration using ADMT to move resources to a new forest . Do we move the exchange mailboxes before we move user accounts to the new forest (usint ADMT with SID history)

    I appreciate if you could help me out.

    thanks

    ReplyDelete
  2. i am doing exactly the same thing, thanks for the post. i think you migrate the users by admt and then do the exchange migration which adds the MX attributes to the migrated user object.

    ReplyDelete

Blog Archive