Thursday, April 25, 2013

Cross-Forest Exchange 2003 to Exchange 2003 Migration

Create Trust between domains.

Create Connectors.


Open Exchange 2010 Powershell.
[PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>$Local = Get-Credential
Username- 
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
[PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>$Remote = Get-Credential
Username- 
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
[PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>./Prepare-MoveRequest.Ps1 -Identity test@test.com -RemoteForestDomainController innodc01pl.test1.com -RemoteForestCredential $Remote -LocalForestDomainController innebnsvdc01.test..com -LocalForestCredential $Local -UseLocalObject -OverwriteLocalObject -Verbose -TargetMailUserOu "Ou=caudan,DC=test,dc=com"

[PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>
[PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>New-MoveRequest -Identity test@test..com -RemoteLegacy -TargetDatabase "innousers" -RemoteGlobalCatalog innodc01pl.test1com -RemoteCredential $Remote -TargetDeliveryDomain "test..com" -BadItemLimit 100 -AcceptLargeDataLoss
WARNING: When an item can't be read from the source database or it can't be written to the destination
database, it will be considered corrupted. By specifying a non-zero BadItemLimit, you are requesting that
Exchange not copy such items to the destination mailbox. At move completion, these corrupted items won't be
available in the destination mailbox.

DisplayName               Status                    TotalMailboxSize          TotalArchiveSize         PercentComplete
-----------               ------                    ----------------          ----------------         ---------------
Rohan Banydeen            Queued                    2.008 GB (2,156,075,61...                          0


[PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>Get-MoveRequestStatistics -id test

DisplayName               Status                    TotalMailboxSize          TotalArchiveSize         PercentComplete
-----------               ------                    ----------------          ----------------         ---------------
Rohan Banydeen            InProgress                2.008 GB (2,156,075,61...                          0


[PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>

[PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>Remove-MoveRequest -id test

Confirm
Are you sure you want to perform this action?
Removing completed move request "test".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): A
[PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>
User Migration
User ADMT 3.2 to migrate users afterward.

Then go to adsiedit
Select users> Target Address and clear entry. VERY IMPORTANT, else users will be able to send mail but will not receive mail.

No comments:

Post a Comment