Exchange 2010 SP1 Prepare-MoveRequest.Ps1 跨林迁移

Exchange 2010 SP1 Prepare-MoveRequest.Ps1 跨林迁移

我们正在迁移到 Server 20008R2/Exchange 2010 SP1(从服务器 2003、Exchange 2003),并且作为该过程的一部分,创建了一个具有不同 FQDN 的新林。

现在,我们在使用 ADMT 工具完成迁移后,尝试从 Exchange 2003 迁移到 2010,并且该过程的一部分是使用 Prepare-MoveRequest.Ps1 将属性从源域合并到目标域帐户(-UseLocalObject -OverWriteLocalObject 开关)。

问题在于,Prepare-MoveRequest.Ps1 脚本将源帐户复制为新帐户,而不是合并它们,因为源帐户和目标帐户具有不同的 FQDN。

还有一条消息:警告:在当前林中找不到 XXX(源域 FQDN)的对应对象。“成员”未更新。

知道如何解决这个问题并将源属性合并到新的属性吗?

谢谢!

答案1

当目标域中存在用户时,有两个开关允许合并。在我的例子中,源帐户名和目标帐户名不同,因此我需要一个包含 ADMT 的文件,但对于此 preparemove,我使用 smtp 地址指定了 Identity,它在源和目标中识别该地址,并在此基础上完美地进行了合并。

-UseLocalObject接下来是-OverwriteLocalObject

.\Prepare-MoveRequest.ps1 -RemoteForestDomainController dc401.dc.contoso.com 
-RemoteForestCredential $RemoteCredentials -LocalForestDomainController phiads001.dt.inc -LocalForestCredential $LocalCredentials -UseLocalObject -OverwriteLocalObject -Verbose -Identity [email protected]

VERBOSE: Local ad account with dupplicate proxy addresses found: CN=Woody Brown,OU=Users,OU=Philadelphia,DC=dt,DC=inc
VERBOSE: Merging Mailbox properties to local MailUser
VERBOSE: Setting msExchMailboxGUID to 136aef07-5869-415e-ae0e-bbe69963593b
VERBOSE: Setting proxyAddresses to x500:/o=DealerTrack/ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Recipients/cn=Woody Brown8d2 x500:/o=DealerTrack/ou=Exchange Administrative Group
(FYDIBOHF23SPDLT)/cn=Recipients/cn=Woody Brown753677056d53 X400:c=US;a= ;p=contoso;o=Exchange;s=Brown;g=Woody;
SMTP:[email protected]
Appending x500:/o=contoso/ou=First Administrative Group/cn=Recipients/cn=wbrown to proxyAddresses of Object(CN=Woody Brow
n,OU=Users,OU=Philadelphia,DC=dt,DC=inc) in Local forest.
VERBOSE: OverwriteLocalObject specified. Updating MailUser with with attributes from source MBX(CN=Woody
Brown,CN=Users,DC=dc,DC=contoso,DC=com).
VERBOSE: Setting displayName to Woody Brown
VERBOSE: Setting Mail to [email protected]
VERBOSE: Setting mailNickName to wbrown
VERBOSE: Setting msExchMailboxGuid to 136aef07-5869-415e-ae0e-bbe69963593b
VERBOSE: Setting countryCode to 0
VERBOSE: Setting givenName to Woody
VERBOSE: Setting Sn to Brown
VERBOSE: Setting textEncodedORAddress to c=US;a= ;p=contoso;o=Exchange;s=Brown;g=Woody;
Preparation for [email protected] done. Local recipient info Merged.
1 mailbox(s) ready to move.
[PS] C:\scripts>

答案2

由于时间紧迫,我们不得不删除这些帐户,首先使用 Prepare-MoveRequest.Ps1 重新导入帐户,然后通过 ADMT 重新迁移这些帐户以导入 SID 历史记录。

这最终起到了作用,但如果有人能对此提出建议,我将不胜感激。

相关内容