Exchange 2007 Cross Org Mailbox Migration

Published Nov 02 2006 05:33 PM 18.1K Views

Edit: This post has been updated on 5/11/07 to change the wording around hybrid forest deployment.

Cross-org Mailbox Moves

Cross Org migrations are the ones where a mailbox needs to be moved from one Exchange Organization to another. Since there can only be one Exchange Organization per Forest, that means moving the mailbox between two different Forests.

Exchange Migration Wizard was used to perform this task in Exchange 2003. Exchange 2007 has incorporated Cross Org migrations into the server code base, so now Administrators can perform these moves by using the same task used for Intra Org migrations: Move-mailbox.

The following versions are supported for this kind of move:

Source Server:

  • Exchange 2000 SP3 (or later)
  • Exchange 2003 SP1 (or later)
  • Exchange 2007

Target Server:

  • Exchange 2003 SP1 (or later)
  • Exchange 2007

Exchange Permission requirements:

  • Logon account for the user who is running Move-Mailbox needs to be a granted the "Exchange Recipient Administrators" role for Source and Target Forests and "Exchange Servers" role for both source and target Server. Permissions for legacy Exchange Servers remain the same as they were for Exchange 2003 Migration Wizard.

Process Overview

Move-Mailbox in a Cross Org scenario can be divided in the following steps:

  1. Open Server Connections
  • Connect to the source and target server - checks if credential and server version is valid
  1. Gather Source Information
  • Read source User Mailbox attributes
  • Check if source mailbox is a system mailbox (Fail if it is)
  • Check if source user does not have a mailbox (Fail if it does not)
  1. Gather Target information
  • Check mailbox size limit against target database limits
  • Check if we can match the source NT account in the target Forest (account match based on SMTP address, source objectSID and target sidHistory, and legacyExchangeDN). If match is found, this account will be email enabled.
  • Check if target mailbox exists (used to determine if merge is needed)
  • Check if source mailbox is a resource mailbox (If it is the target user must be disabled)
  1. Update Directory Information before Move
  • Lock access to source mailbox
  • Create the target mailbox
  • Lock target mailbox
  1. Move Mailbox Content
  • Move the mailbox content
  1. Update Directory Information after Move
  • Update mailbox location attributes on source and target user accounts
  • Unlock target mailbox
  1. Post-Migration Cleanup:
  • Remove Source mailbox / Remove AD User if cleanup parameter was used
  • Unlock Source mailbox if no cleanup was specified

New functionality added for Exchange 2007

Pre-Validation and New and Improved Logging

As described in my previous post, move-mailbox has added a pre-validation feature that performs a series of checks before actually trying to move the mailbox. This feature saves time by identifying errors right away instead of waiting until they happen during an actual move.

Also, Exchange 2007 Move-mailbox improves greatly on logging available for Migration Wizard (event logs). We now have more comprehensive Event logs, a XML Report and a troubleshooting log. All logs are enabled by default and are located at <Exchange Root> \Logging\MigrationLogs\.

New Options available

A variety of new options are available to Administrators when moving mailboxes across Exchange Organizations. Here are a few examples that demonstrate their syntax:

  • Credentials example: Before going into move-mailbox examples, it is worth mentioning how the credentials variables are populated for the moves. Here is an example to add a credential to a variable called $s. After typing the command, a user and password dialog will pop up. You should enter the credential that will be used for the move, using the domain/user format for the user name:

$s = get-credential

  • Example 1: The following command moves mailboxes in clone mode (specified by the NTAccountOU parameter) using specific Global Catalogs and target Domain controller (parameters SourceForestGlobalCatalog, GlobalCatalog and DomainController). Eight mailboxes will be moved simultaneous threads (-MaxThreads 8) and at the end the source NT account will be deleted (-SourceMailboxCleanupOptions DeleteSourceNTAccount).It also uses the -ReportFile parameter to specify the directory and file name for the migration XML report:

get-mailbox -DomainController 'forestAdc1.extest.com' -Credential $s -database 'Server1\DatabaseA' | move-mailbox -TargetDatabase 'Server2\Database1' -Identity 'testMailbox1' -SourceForestGlobalCatalog 'forestA.extest.com' -GlobalCatalog 'forestB.extest.com' -DomainController 'forestBdc1.extest.com' -NTAccountOU 'OU=UsersOU, DC=forestB, DC=extest, DC=com' -MaxThreads 8 -SourceMailboxCleanupOptions DeleteSourceNTAccount -SourceForestCredential $s -TargetForestCredential $t -ReportFile "C:\Logs\migrationReport.xml"

  • Example 2: The following command moves mailboxes in clone mode (specified by the NTAccountOU parameter) using specific Global Catalogs and target Domain controller (parameters SourceForestGlobalCatalog, GlobalCatalog and DomainController). By using the PreserveMailboxSizeLimit option the command preserves the existent mailbox limits after moving them to the target database. It also uses the IgnorePolicyMatch option which will move the mailbox without trying to match Managed Folder, Unified message and ActiveSync policies and therefore losing these settings (move-mailbox by default will try to match source mailbox's existent policies to same named policies at the target Organization and fail the move if no match is found). Finally, the command deletes the source mailbox after the move is complete (by using -SourceMailboxCleanupOptions DeleteSourceMailbox) :

get-mailbox -DomainController 'forestAdc1.extest.com' -Credential $s -database 'Server1\DatabaseA' | move-mailbox -TargetDatabase 'Server2\Database1' -Identity 'testMailbox1' -SourceForestGlobalCatalog 'forestA.extest.com' -GlobalCatalog 'forestB.extest.com' -DomainController 'forestBdc1.extest.com' -NTAccountOU 'OU=UsersOU, DC=forestB, DC=extest, DC=com' -PreserveMailboxSizeLimit -IgnorePolicyMatch -SourceMailboxCleanupOptions DeleteSourceMailbox -SourceForestCredential $s -TargetForestCredential $t

  • Example 3: This command moves mailboxes in merge mode (specified by the AllowMerge parameter) using specific Global Catalogs and target Domain controller (parameters SourceForestGlobalCatalog, GlobalCatalog and DomainController). We only want to merge content that matches the specified date interval (-StartDate and -EndDate) and that has the work "Exchange" as part of the message subject (-SubjectKeywords). We also increased the Interval and Timeout settings for lookup operations (-RetryInterval and -RetryTimeout). No cleanup option is used because this is a merge move:

get-mailbox -DomainController 'forestAdc1.extest.com' -Credential $s -database 'Server1\DatabaseA' | move-mailbox -TargetDatabase 'Server2\Database1' -Identity 'testMailbox1' -SourceForestGlobalCatalog 'forestA.extest.com' -GlobalCatalog 'forestB.extest.com' -DomainController 'forestBdc1.extest.com' -AllowMerge -StartDate '01/10/06' -EndDate '01/11/06' -SubjectKeywords "Exchange" -RetryInterval 5 -RetryTimeout 90 -SourceForestCredential $s -TargetForestCredential $t

Deprecated Options

The following options present in Migration wizard are no longer supported:

  • Creating new enabled user accounts: This option was removed because we found that most customers were already using ADMT to migrate their user accounts instead of creating a new account during migration and adding detailed information later. Move-mailbox is still able to create mailbox enabled disabled user accounts (used in the Resource Forest configuration).
  • Graphic interface: Currently the only way to perform a Cross Org migration is by using the move-mailbox task from an Exchange Management Shell. An EMC wizard is planned for later versions.
  • Support for Exchange 5.5 servers: Exchange 5.5 mailboxes need to be migrated to Exchange 2000/2003 first and then to Exchange 2007.

Move Mailbox Cross Org and Active Directory Forests

Most of the Move Mailbox Cross Org scenarios are closely related to the Active Directory Forests involved in the migration. Before looking at the customer scenarios and at their respective move-mailbox syntax, let's go over the definition of the different Forests types and all the supported combinations among them.

Active Directory Forests Configurations

There are basically four types of Forests related to Cross Org migrations:

  • Single Exchange Forest: A single forest that has Exchange installed and it is not connected to any other Active Directory forest.
  • User Forest: Forest that contains only User Accounts. An Exchange server is not installed in this forest. It can be connected to other Active Directory Forests but it does not require any synchronization.
  • Exchange Forest: Forest that contains mailboxes and user accounts (enabled or disabled) and contacts. This type of configuration is actually divided in two distinct types: In a Single Forest and Cross Forest set up, user accounts are always enabled and mailbox enabled. In Resource Forest, the mailboxes are attached to disabled user accounts in one Forest and associated to user accounts in the user forest.
  • Hybrid Forest: This is a Forest configuration that are each a mix of User and Exchange Forests. That is, each may contain a combination of enabled and disabled User Accounts that are either mail enabled or mailbox enabled. This configuration is different than a Resource Forest because both Forests have mailboxes, and is also different than a classic Cross Org configuration because you might find mail enabled users and disabled mailbox enabled users in the same Forest.

If we represent these types as blocks, we would have the following combinations:

Even though Move-Mailbox supports migrating content among all the four Forest types described above, By default, GALSync in MIIS does not synchronize recipients in both forests in a hybrid forest scenario. However, you can create a customized MIIS solution so that GALSync will synchronize recipients in both forests.

Customer scenarios for Cross Org mailbox move

These are the supported customer scenarios for Cross Org migrations:

  1. Company Divestiture (Single Forest to Cross Forest)

This is a scenario where a company decides move some part of its business like a division, to separate forest, be it because the division will become an independent company or because it has different technical requirements. In this situation, the Administrator should use ADMT to move user's accounts from the source Forest to the target Forest and then use move-mailbox to move that same user's mailbox.

  1. Company Merger/Acquisition (Cross Forest to Single Forest)

This is the scenario where a company decides to consolidate mailboxes from various Forests into a single Forest. Administrators should first migrate users using ADMT and then use move-mailbox to move that same user's mailbox.

  1. Split Windows\Exchange Administration (Single Forest to Resource Forest)

By separating the User Account Forest from the Mailbox Forest, Exchange and Windows administrators can be completely separated. In this scenario mailboxes should be migrated by move-mailbox, leaving the enabled user account on the source Forest. Therefore the cleanup option used should be delete source mailbox.

  1. Host External Company (Single Forest to Resource Forest)

Another scenario for migrating from a Single Forest to a Resource Forest is that of a company that outsources email management but retains User Account management. Technical requirements should be similar to the previous scenario.

  1. Bring Email Management in House (Resource to Single Forest)

This is the opposite of the last two scenarios. If for some reason a company that had its mailboxes in a separate Forest decides to bring them to the User Forest, the easier solution would be to migrate all the external mailboxes back into the Login Account Forest. In this case however, the cleanup option should be to delete user account since the linked disabled user on the Resource Forest will not be needed anymore.

  1. Upgrade Exchange Server

This is the case where an Exchange 2007 server is installed (in any Forest configuration) and mailboxes from a legacy server (Exchange 2000/2003) are moved to this server. Since this applies to any of the scenarios above, the cleanup option used should follow the requirements described earlier depending on the Forest configuration.

  1. Re-Alignment due to organizational or physical location changes

This is the case where mailboxes are moved among Exchange 2007 servers inside a company due to some logical or physical change. Like the previous scenario, this applies to any of the Forest configurations described above and therefore the cleanup option used should follow the requirements described earlier accordingly.

Other Examples for moving mailboxes between different Forests:

  • Migrate all mailboxes from a database and delete Source users:

Get-mailbox -DomainController 'forestAdc1.extest.com' -Credential $s -database 'SourceServer1\SourceDB1' | move-mailbox -TargetDatabase 'TargetServer1\TargetDB1' -SourceForestGlobalCatalog 'forestA.extest.com' -GlobalCatalog 'forestB.extest.com' -DomainController 'forestBdc1.extest.com' -NTAccountOU 'OU=UsersOU, DC=forestB, DC=extest, DC=com' -SourceMailboxCleanupOptions DeleteSourceNTAccount -SourceForestCredential $s -TargetForestCredential $t

  • Migrate all mailboxes from a database and delete Source mailboxes:

Get-mailbox -DomainController 'forestAdc1.extest.com' -Credential $s -database 'SourceServer1\SourceDB1' | move-mailbox -TargetDatabase 'TargetServer1\TargetDB1' -SourceForestGlobalCatalog 'forestA.extest.com' -GlobalCatalog 'forestB.extest.com' -DomainController 'forestBdc1.extest.com' -NTAccountOU 'OU=UsersOU, DC=forestB, DC=extest, DC=com' -SourceMailboxCleanupOptions DeleteSourceMailbox -SourceForestCredential $s -TargetForestCredential $t

  • Migrate mailboxes of that belong to Accounting department and delete Source users:

Get-user -DomainController 'forestAdc1.extest.com' -Credential $s | where { $_.Department -ilike "Accounting" } | move-mailbox -TargetDatabase 'Server2\DB1' -SourceForestGlobalCatalog 'forestA.extest.com' -GlobalCatalog 'forestB.extest.com' -DomainController 'forestBdc1.extest.com' -NTAccountOU 'OU=UsersOU, DC=forestB, DC=extest, DC=com' -SourceMailboxCleanupOptions DeleteSourceNTAccount -SourceForestCredential $s -TargetForestCredential $t

  • Migrate mailboxes with storage limit smaller than 500KB and delete Source mailbox:

Get-mailbox -DomainController 'forestAdc1.extest.com' -Credential $s -database 'Database1' | where {$_.StorageQuota -gt "500KB"} | move-mailbox -TargetDatabase 'Server2\DB1' -SourceForestGlobalCatalog 'forestA.extest.com' -GlobalCatalog 'forestB.extest.com' -DomainController 'forestBdc1.extest.com' -NTAccountOU 'OU=UsersOU, DC=forestB, DC=extest, DC=com' -SourceMailboxCleanupOptions DeleteSourceMailbox -SourceForestCredential $s -TargetForestCredential $t

  • Migrate mailboxes that are assigned to "MobilePolicy1" and delete Source users:

Get-CASMailbox -DomainController 'forestAdc1.extest.com' -Credential $s | where {$_.MobileMailboxPolicy -ilike 'MobilePolicy1*'} | move-mailbox -TargetDatabase 'Server2\DB1' -SourceForestGlobalCatalog 'forestA.extest.com' -GlobalCatalog 'forestB.extest.com' -DomainController 'forestBdc1.extest.com' -NTAccountOU 'OU=UsersOU, DC=forestB, DC=extest, DC=com' -SourceMailboxCleanupOptions DeleteSourceMailbox -SourceForestCredential $s -TargetForestCredential $t

- Paul MacKnight

19 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-600615%22%20slang%3D%22en-US%22%3EExchange%202007%20Cross%20Org%20Mailbox%20Migration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-600615%22%20slang%3D%22en-US%22%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%23000000%22%3E%3CFONT%20color%3D%22%23ff0000%22%3EEdit%3A%3C%2FFONT%3E%20This%20post%20has%20been%20updated%20on%205%2F11%2F07%20to%20change%20the%20wording%20around%26nbsp%3Bhybrid%20forest%20deployment.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CFONT%20color%3D%22%230000ff%22%3ECross-org%20Mailbox%20Moves%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3ECross%20Org%20migrations%20are%20the%20ones%20where%20a%20mailbox%20needs%20to%20be%20moved%20from%20one%20Exchange%20Organization%20to%20another.%20Since%20there%20can%20only%20be%20one%20Exchange%20Organization%20per%20Forest%2C%20that%20means%20moving%20the%20mailbox%20between%20two%20different%20Forests.%3C%2FP%3E%3CP%3EExchange%20Migration%20Wizard%20was%20used%20to%20perform%20this%20task%20in%20Exchange%202003.%20Exchange%202007%20has%20incorporated%20Cross%20Org%20migrations%20into%20the%20server%20code%20base%2C%20so%20now%20Administrators%20can%20perform%20these%20moves%20by%20using%20the%20same%20task%20used%20for%20Intra%20Org%20migrations%3A%20Move-mailbox.%3C%2FP%3E%3CP%3EThe%20following%20versions%20are%20supported%20for%20this%20kind%20of%20move%3A%3C%2FP%3E%3CP%3E%3CB%3ESource%20Server%3A%3C%2FB%3E%3CUL%3E%0A%3CLI%3EExchange%202000%20SP3%20(or%20later)%3C%2FLI%3E%3CLI%3EExchange%202003%20SP1%20(or%20later)%3C%2FLI%3E%3CLI%3EExchange%202007%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3E%3CB%3ETarget%20Server%3A%3C%2FB%3E%3CUL%3E%0A%3CLI%3EExchange%202003%20SP1%20(or%20later)%3C%2FLI%3E%3CLI%3EExchange%202007%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3E%3CB%3EExchange%20Permission%20requirements%3A%3C%2FB%3E%3CUL%3E%0A%3CLI%3ELogon%20account%20for%20the%20user%20who%20is%20running%20Move-Mailbox%20needs%20to%20be%20a%20granted%20the%20%22Exchange%20Recipient%20Administrators%22%20role%20for%20Source%20and%20Target%20Forests%20and%20%22Exchange%20Servers%22%20role%20for%20both%20source%20and%20target%20Server.%20Permissions%20for%20legacy%20Exchange%20Servers%20remain%20the%20same%20as%20they%20were%20for%20Exchange%202003%20Migration%20Wizard.%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3E%3CB%3E%3CFONT%20color%3D%22%230000ff%22%3EProcess%20Overview%20%3C%2FFONT%3E%3C%2FB%3E%3C%2FP%3E%3CP%3E%3CB%3E%3C%2FB%3E%3C%2FP%3E%3CP%3EMove-Mailbox%20in%20a%20Cross%20Org%20scenario%20can%20be%20divided%20in%20the%20following%20steps%3A%3CB%3E%3C%2FB%3E%3COL%3E%0A%3CLI%3E%3CB%3EOpen%20Server%20Connections%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3CUL%3E%0A%3CLI%3EConnect%20to%20the%20source%20and%20target%20server%20-%20checks%20if%20credential%20and%20server%20version%20is%20valid%3C%2FLI%3E%3C%2FUL%3E%0A%3COL%3E%0A%3CLI%3E%3CB%3EGather%20Source%20Information%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3CUL%3E%0A%3CLI%3ERead%20source%20User%20Mailbox%20attributes%3C%2FLI%3E%3CLI%3ECheck%20if%20source%20mailbox%20is%20a%20system%20mailbox%20(Fail%20if%20it%20is)%3C%2FLI%3E%3CLI%3ECheck%20if%20source%20user%20does%20not%20have%20a%20mailbox%20(Fail%20if%20it%20does%20not)%3CB%3E%3C%2FB%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3COL%3E%0A%3CLI%3E%3CB%3EGather%20Target%20information%20%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3CUL%3E%0A%3CLI%3ECheck%20mailbox%20size%20limit%20against%20target%20database%20limits%3C%2FLI%3E%3CLI%3ECheck%20if%20we%20can%20match%20the%20source%20NT%20account%20in%20the%20target%20Forest%20(account%20match%20based%20on%20SMTP%20address%2C%20source%20objectSID%20and%20target%20sidHistory%2C%20and%20legacyExchangeDN).%20If%20match%20is%20found%2C%20this%20account%20will%20be%20email%20enabled.%3C%2FLI%3E%3CLI%3ECheck%20if%20target%20mailbox%20exists%20(used%20to%20determine%20if%20merge%20is%20needed)%3C%2FLI%3E%3CLI%3ECheck%20if%20source%20mailbox%20is%20a%20resource%20mailbox%20(If%20it%20is%20the%20target%20user%20must%20be%20disabled)%3CB%3E%3C%2FB%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3COL%3E%0A%3CLI%3E%3CB%3EUpdate%20Directory%20Information%20before%20Move%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3CUL%3E%0A%3CLI%3ELock%20access%20to%20source%20mailbox%3C%2FLI%3E%3CLI%3ECreate%20the%20target%20mailbox%3C%2FLI%3E%3CLI%3ELock%20target%20mailbox%3CB%3E%3C%2FB%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3COL%3E%0A%3CLI%3E%3CB%3EMove%20Mailbox%20Content%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3CUL%3E%0A%3CLI%3EMove%20the%20mailbox%20content%3CB%3E%3C%2FB%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3COL%3E%0A%3CLI%3E%3CB%3EUpdate%20Directory%20Information%20after%20Move%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3CUL%3E%0A%3CLI%3EUpdate%20mailbox%20location%20attributes%20on%20source%20and%20target%20user%20accounts%3C%2FLI%3E%3CLI%3EUnlock%20target%20mailbox%3CB%3E%3C%2FB%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3COL%3E%0A%3CLI%3E%3CB%3EPost-Migration%20Cleanup%3A%20%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3CUL%3E%0A%3CLI%3ERemove%20Source%20mailbox%20%2F%20Remove%20AD%20User%20if%20cleanup%20parameter%20was%20used%3C%2FLI%3E%3CLI%3EUnlock%20Source%20mailbox%20if%20no%20cleanup%20was%20specified%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3E%3CB%3E%3CFONT%20color%3D%22%230000ff%22%3ENew%20functionality%20added%20for%20Exchange%202007%3C%2FFONT%3E%3C%2FB%3E%3C%2FP%3E%3CP%3E%3CB%3E%3CI%3EPre-Validation%20and%20New%20and%20Improved%20Logging%3C%2FI%3E%3C%2FB%3E%3C%2FP%3E%3CP%3E%3CB%3E%3CI%3E%3C%2FI%3E%3C%2FB%3E%3C%2FP%3E%3CP%3EAs%20described%20in%20my%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Farchive%2F2006%2F10%2F27%2F429522.aspx%22%20target%3D%22_blank%22%3Eprevious%20post%3C%2FA%3E%2C%20move-mailbox%20has%20added%20a%20pre-validation%20feature%20that%20performs%20a%20series%20of%20checks%20before%20actually%20trying%20to%20move%20the%20mailbox.%20This%20feature%20saves%20time%20by%20identifying%20errors%20right%20away%20instead%20of%20waiting%20until%20they%20happen%20during%20an%20actual%20move.%3C%2FP%3E%3CP%3EAlso%2C%20Exchange%202007%20Move-mailbox%20improves%20greatly%20on%20logging%20available%20for%20Migration%20Wizard%20(event%20logs).%20We%20now%20have%20more%20comprehensive%20Event%20logs%2C%20a%20XML%20Report%20and%20a%20troubleshooting%20log.%20All%20logs%20are%20enabled%20by%20default%20and%20are%20located%20at%20%3CI%3E%3CEXCHANGE%20root%3D%22%22%3E%20%5CLogging%5CMigrationLogs%5C%3C%2FEXCHANGE%3E%3C%2FI%3E.%3C%2FP%3E%3CP%3E%3CB%3E%3CI%3ENew%20Options%20available%20%3C%2FI%3E%3C%2FB%3E%3C%2FP%3E%3CP%3EA%20variety%20of%20new%20options%20are%20available%20to%20Administrators%20when%20moving%20mailboxes%20across%20Exchange%20Organizations.%20Here%20are%20a%20few%20examples%20that%20demonstrate%20their%20syntax%3A%3CUL%3E%0A%3CLI%3E%3CB%3E%3CI%3ECredentials%20example%3A%3C%2FI%3E%3C%2FB%3E%3CI%3E%20Before%20going%20into%20move-mailbox%20examples%2C%20it%20is%20worth%20mentioning%20how%20the%20credentials%20variables%20are%20populated%20for%20the%20moves.%20Here%20is%20an%20example%20to%20add%20a%20credential%20to%20a%20variable%20called%20%24s.%20After%20typing%20the%20command%2C%20a%20user%20and%20password%20dialog%20will%20pop%20up.%20You%20should%20enter%20the%20credential%20that%20will%20be%20used%20for%20the%20move%2C%20using%20the%20domain%2Fuser%20format%20for%20the%20user%20name%3A%3C%2FI%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3E%24s%20%3D%20get-credential%3CUL%3E%0A%3CLI%3E%3CB%3E%3CI%3EExample%201%3C%2FI%3E%3C%2FB%3E%3CI%3E%3A%20The%20following%20command%20moves%20mailboxes%20in%20clone%20mode%20(specified%20by%20the%20NTAccountOU%20parameter)%20using%20specific%20Global%20Catalogs%20and%20target%20Domain%20controller%20(parameters%20SourceForestGlobalCatalog%2C%20GlobalCatalog%20and%20DomainController).%20Eight%20mailboxes%20will%20be%20moved%20simultaneous%20threads%20(-MaxThreads%208)%3C%2Fimg%3E%20and%20at%20the%20end%20the%20source%20NT%20account%20will%20be%20deleted%20(-SourceMailboxCleanupOptions%20DeleteSourceNTAccount).It%20also%20uses%20the%20-ReportFile%20parameter%20to%20specify%20the%20directory%20and%20file%20name%20for%20the%20migration%20XML%20report%3A%3C%2FI%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3Eget-mailbox%20-DomainController%20'forestAdc1.extest.com'%20-Credential%20%24s%20-database%20'Server1%5CDatabaseA'%20%7C%20move-mailbox%20-TargetDatabase%20'Server2%5CDatabase1'%20-Identity%20'testMailbox1'%20-SourceForestGlobalCatalog%20'forestA.extest.com'%20-GlobalCatalog%20'forestB.extest.com'%20-DomainController%20'forestBdc1.extest.com'%20-NTAccountOU%20'OU%3DUsersOU%2C%20DC%3DforestB%2C%20DC%3Dextest%2C%20DC%3Dcom'%20-MaxThreads%208%20-SourceMailboxCleanupOptions%20DeleteSourceNTAccount%20-SourceForestCredential%20%24s%20-TargetForestCredential%20%24t%20-ReportFile%20%22C%3A%5CLogs%5CmigrationReport.xml%22%3CUL%3E%0A%3CLI%3E%3CB%3E%3CI%3EExample%202%3C%2FI%3E%3C%2FB%3E%3CI%3E%3A%20The%20following%20command%20moves%20mailboxes%20in%20clone%20mode%20(specified%20by%20the%20NTAccountOU%20parameter)%20using%20specific%20Global%20Catalogs%20and%20target%20Domain%20controller%20(parameters%20SourceForestGlobalCatalog%2C%20GlobalCatalog%20and%20DomainController).%20By%20using%20the%20PreserveMailboxSizeLimit%20option%20the%20command%20preserves%20the%20existent%20mailbox%20limits%20after%20moving%20them%20to%20the%20target%20database.%20It%20also%20uses%20the%20IgnorePolicyMatch%20option%20which%20will%20move%20the%20mailbox%20without%20trying%20to%20match%20Managed%20Folder%2C%20Unified%20message%20and%20ActiveSync%20policies%20and%20therefore%20losing%20these%20settings%20(move-mailbox%20by%20default%20will%20try%20to%20match%20source%20mailbox's%20existent%20policies%20to%20same%20named%20policies%20at%20the%20target%20Organization%20and%20fail%20the%20move%20if%20no%20match%20is%20found).%20Finally%2C%20the%20command%20deletes%20the%20source%20mailbox%20after%20the%20move%20is%20complete%20(by%20using%20-SourceMailboxCleanupOptions%20DeleteSourceMailbox)%20%3A%3C%2FI%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3Eget-mailbox%20-DomainController%20'forestAdc1.extest.com'%20-Credential%20%24s%20-database%20'Server1%5CDatabaseA'%20%7C%20move-mailbox%20-TargetDatabase%20'Server2%5CDatabase1'%20-Identity%20'testMailbox1'%20-SourceForestGlobalCatalog%20'forestA.extest.com'%20-GlobalCatalog%20'forestB.extest.com'%20-DomainController%20'forestBdc1.extest.com'%20-NTAccountOU%20'OU%3DUsersOU%2C%20DC%3DforestB%2C%20DC%3Dextest%2C%20DC%3Dcom'%20-PreserveMailboxSizeLimit%20-IgnorePolicyMatch%20-SourceMailboxCleanupOptions%20DeleteSourceMailbox%20-SourceForestCredential%20%24s%20-TargetForestCredential%20%24t%3CUL%3E%0A%3CLI%3E%3CB%3E%3CI%3EExample%203%3C%2FI%3E%3C%2FB%3E%3CI%3E%3A%20This%20command%20moves%20mailboxes%20in%20merge%20mode%20(specified%20by%20the%20AllowMerge%20parameter)%20using%20specific%20Global%20Catalogs%20and%20target%20Domain%20controller%20(parameters%20SourceForestGlobalCatalog%2C%20GlobalCatalog%20and%20DomainController).%20We%20only%20want%20to%20merge%20content%20that%20matches%20the%20specified%20date%20interval%20(-StartDate%20and%20-EndDate)%20and%20that%20has%20the%20work%20%22Exchange%22%20as%20part%20of%20the%20message%20subject%20(-SubjectKeywords).%20We%20also%20increased%20the%20Interval%20and%20Timeout%20settings%20for%20lookup%20operations%20(-RetryInterval%20and%20-RetryTimeout).%20No%20cleanup%20option%20is%20used%20because%20this%20is%20a%20merge%20move%3A%3C%2FI%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3Eget-mailbox%20-DomainController%20'forestAdc1.extest.com'%20-Credential%20%24s%20-database%20'Server1%5CDatabaseA'%20%7C%20move-mailbox%20-TargetDatabase%20'Server2%5CDatabase1'%20-Identity%20'testMailbox1'%20-SourceForestGlobalCatalog%20'forestA.extest.com'%20-GlobalCatalog%20'forestB.extest.com'%20-DomainController%20'forestBdc1.extest.com'%20-AllowMerge%20-StartDate%20'01%2F10%2F06'%20-EndDate%20'01%2F11%2F06'%20-SubjectKeywords%20%22Exchange%22%20-RetryInterval%205%20-RetryTimeout%2090%20-SourceForestCredential%20%24s%20-TargetForestCredential%20%24t%3C%2FP%3E%3CP%3E%3CB%3E%3CI%3EDeprecated%20Options%20%3C%2FI%3E%3C%2FB%3E%3C%2FP%3E%3CP%3E%3CB%3E%3CI%3E%3C%2FI%3E%3C%2FB%3E%3C%2FP%3E%3CP%3EThe%20following%20options%20present%20in%20Migration%20wizard%20are%20no%20longer%20supported%3A%3CUL%3E%0A%3CLI%3E%3CI%3ECreating%20new%20enabled%20user%20accounts%3A%20%3C%2FI%3EThis%20option%20was%20removed%20because%20we%20found%20that%20most%20customers%20were%20already%20using%20ADMT%20to%20migrate%20their%20user%20accounts%20instead%20of%20creating%20a%20new%20account%20during%20migration%20and%20adding%20detailed%20information%20later.%20Move-mailbox%20is%20still%20able%20to%20create%20mailbox%20enabled%20disabled%20user%20accounts%20(used%20in%20the%20Resource%20Forest%20configuration).%20%3CI%3E%3C%2FI%3E%3C%2FLI%3E%3CLI%3E%3CI%3EGraphic%20interface%3A%3C%2FI%3E%20Currently%20the%20only%20way%20to%20perform%20a%20Cross%20Org%20migration%20is%20by%20using%20the%20move-mailbox%20task%20from%20an%20Exchange%20Management%20Shell.%20An%20EMC%20wizard%20is%20planned%20for%20later%20versions.%3C%2FLI%3E%3CLI%3E%3CI%3ESupport%20for%20Exchange%205.5%20servers%3A%20%3C%2FI%3EExchange%205.5%20mailboxes%20need%20to%20be%20migrated%20to%20Exchange%202000%2F2003%20first%20and%20then%20to%20Exchange%202007.%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3E%3CB%3E%3CFONT%20color%3D%22%230000ff%22%3EMove%20Mailbox%20Cross%20Org%20and%20Active%20Directory%20Forests%3C%2FFONT%3E%3C%2FB%3E%3C%2FP%3E%3CP%3E%3CB%3E%3C%2FB%3E%3C%2FP%3E%3CP%3EMost%20of%20the%20Move%20Mailbox%20Cross%20Org%20scenarios%20are%20closely%20related%20to%20the%20Active%20Directory%20Forests%20involved%20in%20the%20migration.%20Before%20looking%20at%20the%20customer%20scenarios%20and%20at%20their%20respective%20move-mailbox%20syntax%2C%20let's%20go%20over%20the%20definition%20of%20the%20different%20Forests%20types%20and%20all%20the%20supported%20combinations%20among%20them.%3C%2FP%3E%3CP%3E%3CB%3E%3CI%3EActive%20Directory%20Forests%20Configurations%20%3C%2FI%3E%3C%2FB%3E%3C%2FP%3E%3CP%3E%3CB%3E%3CI%3E%3C%2FI%3E%3C%2FB%3E%3C%2FP%3E%3CP%3EThere%20are%20basically%20four%20types%20of%20Forests%20related%20to%20Cross%20Org%20migrations%3A%3CUL%3E%0A%3CLI%3E%3CB%3E%3CI%3ESingle%20Exchange%20Forest%3C%2FI%3E%3C%2FB%3E%3CB%3E%3A%3C%2FB%3E%20A%20single%20forest%20that%20has%20Exchange%20installed%20and%20it%20is%20not%20connected%20to%20any%20other%20Active%20Directory%20forest.%3C%2FLI%3E%3CLI%3E%3CB%3E%3CI%3EUser%20Forest%3C%2FI%3E%3C%2FB%3E%3CB%3E%3A%3C%2FB%3E%20Forest%20that%20contains%20only%20User%20Accounts.%20An%20Exchange%20server%20is%20not%20installed%20in%20this%20forest.%20It%20can%20be%20connected%20to%20other%20Active%20Directory%20Forests%20but%20it%20does%20not%20require%20any%20synchronization.%3C%2FLI%3E%3CLI%3E%3CB%3E%3CI%3EExchange%20Forest%3C%2FI%3E%3C%2FB%3E%3CB%3E%3A%3C%2FB%3E%20Forest%20that%20contains%20mailboxes%20and%20user%20accounts%20(enabled%20or%20disabled)%20and%20contacts.%20This%20type%20of%20configuration%20is%20actually%20divided%20in%20two%20distinct%20types%3A%20In%20a%20Single%20Forest%20and%20Cross%20Forest%20set%20up%2C%20user%20accounts%20are%20always%20enabled%20and%20mailbox%20enabled.%20In%20Resource%20Forest%2C%20the%20mailboxes%20are%20attached%20to%20disabled%20user%20accounts%20in%20one%20Forest%20and%20associated%20to%20user%20accounts%20in%20the%20user%20forest.%3C%2FLI%3E%3CLI%3E%3CB%3E%3CI%3EHybrid%20Forest%3C%2FI%3E%3C%2FB%3E%3CB%3E%3A%3C%2FB%3E%20This%20is%20a%20Forest%20configuration%20that%20are%20each%20a%20mix%20of%20User%20and%20Exchange%20Forests.%20That%20is%2C%20each%20may%20contain%20a%20combination%20of%20enabled%20and%20disabled%20User%20Accounts%20that%20are%20either%20mail%20enabled%20or%20mailbox%20enabled.%20This%20configuration%20is%20different%20than%20a%20Resource%20Forest%20because%20both%20Forests%20have%20mailboxes%2C%20and%20is%20also%20different%20than%20a%20classic%20Cross%20Org%20configuration%20because%20you%20might%20find%20mail%20enabled%20users%20and%20disabled%20mailbox%20enabled%20users%20in%20the%20same%20Forest.%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3EIf%20we%20represent%20these%20types%20as%20blocks%2C%20we%20would%20have%20the%20following%20combinations%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2Fthemes%2Fexchange%2Fimages%2F430288_CrossOrgMigration.jpg%22%20original-url%3D%22%2Fthemes%2Fexchange%2Fimages%2F430288_CrossOrgMigration.jpg%22%20target%3D%22_blank%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Flegacyfs%2Fonline%2Fmedia%2Fthemes%2Fexchange%2Fimages%2F430288_CrossOrgMigration.jpg%22%20original-url%3D%22%2Fthemes%2Fexchange%2Fimages%2F430288_CrossOrgMigration.jpg%22%20%2F%3E%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3EEven%20though%20Move-Mailbox%20supports%20migrating%20content%20among%20all%20the%20four%20Forest%20types%20described%20above%2C%20By%20default%2C%20GALSync%20in%20MIIS%20does%20not%20synchronize%20recipients%20in%20both%20forests%20in%20a%20hybrid%20forest%20scenario.%20However%2C%20you%20can%20create%20a%20customized%20MIIS%20solution%20so%20that%20GALSync%20will%20synchronize%20recipients%20in%20both%20forests.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CB%3E%3CFONT%20color%3D%22%230000ff%22%3ECustomer%20scenarios%20for%20Cross%20Org%20mailbox%20move%20%3C%2FFONT%3E%3C%2FB%3E%3C%2FP%3E%3CP%3EThese%20are%20the%20supported%20customer%20scenarios%20for%20Cross%20Org%20migrations%3A%3COL%3E%0A%3CLI%3E%3CB%3ECompany%20Divestiture%20(Single%20Forest%20to%20Cross%20Forest)%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3C%2FP%3E%3CP%3EThis%20is%20a%20scenario%20where%20a%20company%20decides%20move%20some%20part%20of%20its%20business%20like%20a%20division%2C%20to%20separate%20forest%2C%20be%20it%20because%20the%20division%20will%20become%20an%20independent%20company%20or%20because%20it%20has%20different%20technical%20requirements.%20In%20this%20situation%2C%20the%20Administrator%20should%20use%20ADMT%20to%20move%20user's%20accounts%20from%20the%20source%20Forest%20to%20the%20target%20Forest%20and%20then%20use%20move-mailbox%20to%20move%20that%20same%20user's%20mailbox.%3COL%3E%0A%3CLI%3E%3CB%3ECompany%20Merger%2FAcquisition%20(Cross%20Forest%20to%20Single%20Forest)%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3C%2FP%3E%3CP%3EThis%20is%20the%20scenario%20where%20a%20company%20decides%20to%20consolidate%20mailboxes%20from%20various%20Forests%20into%20a%20single%20Forest.%20Administrators%20should%20first%20migrate%20users%20using%20ADMT%20and%20then%20use%20move-mailbox%20to%20move%20that%20same%20user's%20mailbox.%3COL%3E%0A%3CLI%3E%3CB%3ESplit%20Windows%5CExchange%20Administration%20(Single%20Forest%20to%20Resource%20Forest)%20%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3C%2FP%3E%3CP%3EBy%20separating%20the%20User%20Account%20Forest%20from%20the%20Mailbox%20Forest%2C%20Exchange%20and%20Windows%20administrators%20can%20be%20completely%20separated.%20In%20this%20scenario%20mailboxes%20should%20be%20migrated%20by%20move-mailbox%2C%20leaving%20the%20enabled%20user%20account%20on%20the%20source%20Forest.%20Therefore%20the%20cleanup%20option%20used%20should%20be%20delete%20source%20mailbox.%3COL%3E%0A%3CLI%3E%3CB%3EHost%20External%20Company%20(Single%20Forest%20to%20Resource%20Forest)%20%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3C%2FP%3E%3CP%3EAnother%20scenario%20for%20migrating%20from%20a%20Single%20Forest%20to%20a%20Resource%20Forest%20is%20that%20of%20a%20company%20that%20outsources%20email%20management%20but%20retains%20User%20Account%20management.%20Technical%20requirements%20should%20be%20similar%20to%20the%20previous%20scenario.%3COL%3E%0A%3CLI%3E%3CB%3EBring%20Email%20Management%20in%20House%20(Resource%20to%20Single%20Forest)%20%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3C%2FP%3E%3CP%3EThis%20is%20the%20opposite%20of%20the%20last%20two%20scenarios.%20If%20for%20some%20reason%20a%20company%20that%20had%20its%20mailboxes%20in%20a%20separate%20Forest%20decides%20to%20bring%20them%20to%20the%20User%20Forest%2C%20the%20easier%20solution%20would%20be%20to%20migrate%20all%20the%20external%20mailboxes%20back%20into%20the%20Login%20Account%20Forest.%20In%20this%20case%20however%2C%20the%20cleanup%20option%20should%20be%20to%20delete%20user%20account%20since%20the%20linked%20disabled%20user%20on%20the%20Resource%20Forest%20will%20not%20be%20needed%20anymore.%3COL%3E%0A%3CLI%3E%3CB%3EUpgrade%20Exchange%20Server%20%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3C%2FP%3E%3CP%3EThis%20is%20the%20case%20where%20an%20Exchange%202007%20server%20is%20installed%20(in%20any%20Forest%20configuration)%20and%20mailboxes%20from%20a%20legacy%20server%20(Exchange%202000%2F2003)%20are%20moved%20to%20this%20server.%20Since%20this%20applies%20to%20any%20of%20the%20scenarios%20above%2C%20the%20cleanup%20option%20used%20should%20follow%20the%20requirements%20described%20earlier%20depending%20on%20the%20Forest%20configuration.%3COL%3E%0A%3CLI%3E%3CB%3ERe-Alignment%20due%20to%20organizational%20or%20physical%20location%20changes%20%3C%2FB%3E%3C%2FLI%3E%3C%2FOL%3E%0A%3C%2FP%3E%3CP%3EThis%20is%20the%20case%20where%20mailboxes%20are%20moved%20among%20Exchange%202007%20servers%20inside%20a%20company%20due%20to%20some%20logical%20or%20physical%20change.%20Like%20the%20previous%20scenario%2C%20this%20applies%20to%20any%20of%20the%20Forest%20configurations%20described%20above%20and%20therefore%20the%20cleanup%20option%20used%20should%20follow%20the%20requirements%20described%20earlier%20accordingly.%3CB%3E%3C%2FB%3E%3C%2FP%3E%3CP%3E%3CB%3E%3C%2FB%3E%3C%2FP%3E%3CP%3E%3CB%3E%3C%2FB%3E%3C%2FP%3E%3CP%3E%3CB%3E%3CI%3EOther%20Examples%20for%20moving%20mailboxes%20between%20different%20Forests%3A%3C%2FI%3E%3C%2FB%3E%3CUL%3E%0A%3CLI%3E%3CI%3EMigrate%20all%20mailboxes%20from%20a%20database%20and%20delete%20Source%20users%3A%3C%2FI%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3EGet-mailbox%20-DomainController%20'forestAdc1.extest.com'%20-Credential%20%24s%20-database%20'SourceServer1%5CSourceDB1'%20%7C%20move-mailbox%20-TargetDatabase%20'TargetServer1%5CTargetDB1'%20-SourceForestGlobalCatalog%20'forestA.extest.com'%20-GlobalCatalog%20'forestB.extest.com'%20-DomainController%20'forestBdc1.extest.com'%20-NTAccountOU%20'OU%3DUsersOU%2C%20DC%3DforestB%2C%20DC%3Dextest%2C%20DC%3Dcom'%20-SourceMailboxCleanupOptions%20DeleteSourceNTAccount%20-SourceForestCredential%20%24s%20-TargetForestCredential%20%24t%3C%2FP%3E%3CP%3E%3CB%3E%3C%2FB%3E%3CUL%3E%0A%3CLI%3E%3CI%3EMigrate%20all%20mailboxes%20from%20a%20database%20and%20delete%20Source%20mailboxes%3A%3C%2FI%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3EGet-mailbox%20-DomainController%20'forestAdc1.extest.com'%20-Credential%20%24s%20-database%20'SourceServer1%5CSourceDB1'%20%7C%20move-mailbox%20-TargetDatabase%20'TargetServer1%5CTargetDB1'%20-SourceForestGlobalCatalog%20'forestA.extest.com'%20-GlobalCatalog%20'forestB.extest.com'%20-DomainController%20'forestBdc1.extest.com'%20-NTAccountOU%20'OU%3DUsersOU%2C%20DC%3DforestB%2C%20DC%3Dextest%2C%20DC%3Dcom'%20-SourceMailboxCleanupOptions%20DeleteSourceMailbox%20-SourceForestCredential%20%24s%20-TargetForestCredential%20%24t%3CB%3E%3C%2FB%3E%3C%2FP%3E%3CP%3E%3CB%3E%3C%2FB%3E%3CUL%3E%0A%3CLI%3E%3CI%3EMigrate%20mailboxes%20of%20that%20belong%20to%20Accounting%20department%20and%20delete%20Source%20users%3A%3C%2FI%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3EGet-user%20-DomainController%20'forestAdc1.extest.com'%20-Credential%20%24s%20%7C%20where%20%7B%20%24_.Department%20-ilike%20%22Accounting%22%20%7D%20%7C%20move-mailbox%20-TargetDatabase%20'Server2%5CDB1'%20-SourceForestGlobalCatalog%20'forestA.extest.com'%20-GlobalCatalog%20'forestB.extest.com'%20-DomainController%20'forestBdc1.extest.com'%20-NTAccountOU%20'OU%3DUsersOU%2C%20DC%3DforestB%2C%20DC%3Dextest%2C%20DC%3Dcom'%20-SourceMailboxCleanupOptions%20DeleteSourceNTAccount%20-SourceForestCredential%20%24s%20-TargetForestCredential%20%24t%3CUL%3E%0A%3CLI%3E%3CI%3EMigrate%20mailboxes%20with%20storage%20limit%20smaller%20than%20500KB%20and%20delete%20Source%20mailbox%3A%3C%2FI%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3EGet-mailbox%20-DomainController%20'forestAdc1.extest.com'%20-Credential%20%24s%20-database%20'Database1'%20%7C%20where%20%7B%24_.StorageQuota%20-gt%20%22500KB%22%7D%20%7C%20move-mailbox%20-TargetDatabase%20'Server2%5CDB1'%20-SourceForestGlobalCatalog%20'forestA.extest.com'%20-GlobalCatalog%20'forestB.extest.com'%20-DomainController%20'forestBdc1.extest.com'%20-NTAccountOU%20'OU%3DUsersOU%2C%20DC%3DforestB%2C%20DC%3Dextest%2C%20DC%3Dcom'%20-SourceMailboxCleanupOptions%20DeleteSourceMailbox%20-SourceForestCredential%20%24s%20-TargetForestCredential%20%24t%3CUL%3E%0A%3CLI%3E%3CI%3EMigrate%20mailboxes%20that%20are%20assigned%20to%20%22MobilePolicy1%22%20and%20delete%20Source%20users%3A%3C%2FI%3E%3C%2FLI%3E%3C%2FUL%3E%0A%3C%2FP%3E%3CP%3EGet-CASMailbox%20-DomainController%20'forestAdc1.extest.com'%20-Credential%20%24s%20%7C%20where%20%7B%24_.MobileMailboxPolicy%20-ilike%20'MobilePolicy1*'%7D%20%7C%20move-mailbox%20-TargetDatabase%20'Server2%5CDB1'%20-SourceForestGlobalCatalog%20'forestA.extest.com'%20-GlobalCatalog%20'forestB.extest.com'%20-DomainController%20'forestBdc1.extest.com'%20-NTAccountOU%20'OU%3DUsersOU%2C%20DC%3DforestB%2C%20DC%3Dextest%2C%20DC%3Dcom'%20-SourceMailboxCleanupOptions%20DeleteSourceMailbox%20-SourceForestCredential%20%24s%20-TargetForestCredential%20%24t%3C%2FP%3E%3CP%3E-%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Farchive%2F2006%2F10%2F27%2F429521.aspx%22%20target%3D%22_blank%22%3EPaul%20MacKnight%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Jul 01 2019 03:20 PM
Updated by: