Cross forrest move mailboxes

Posted: January 18, 2012 in Exchange 2010, MBX, Powershell
Tags: , , , ,
Today I’ll post my favourite way to move user and mailbox objects across forrests.
  1. Prerequisite: Transitive AD trust, migration server running ADMT
  2. Migrate the user object with ADMT
  3. Mail enable migrated users with PowerShell

    Enable-MailUser -Identity user -ExternalEmailAddress

  4. Collect both domains’ credentials

    $LocalCredentials = GetCredential
    $RemoteCredentials = Get-Credential

  5. Prepare move with “prepare-moverequest.ps1” from Exchange servers’ scripts folder

    .\Prepare-MoveRequest.ps1 -Identity user -RemoteForestDomainController -RemoteForestCredential $RemoteCredentials -LocalForestDomainController
    -LocalForestCredential $LocalCredentials -TargetMailUserOU “OU=Users,DC=domain,DC=com” -UseLocalObject –LinkedMailUser

  6. Move mailboxes

    New-MoveRequest -identity user -RemoteLegacy -TargetDatabase MAILBOXDATABASE -RemoteGlobalCatalog -RemoteCredential $RemoteCredentials -TargetDeliveryDomain

There’s a GUI for cross-forrest-moves, too:

Cross Forrest Mailbox Move GUI

Refer to this TechNet Blog article for further details.



  1. Taryel says:

    In Exchange 2013 migration from Exchange 2010 after step 5 we must run this command “Get-EmailAddressPolicy | Update-EmailAddressPolicy”

Leave a Reply to Taryel Cancel reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s