2017-06-12 83 views
0

我能够在森林内完成这个跨域,但是在两个森林之间它是失败的。Move-ADobject - 将用户从一个森林移到另一个森林?

所以,摆在首位的问题......是有可能使用PowerShell林移动之间的用户>

当我尝试这样做跨林,我得到这个错误:

Move-ADObject -Identity "CN=test4,OU=temp,DC=IDENTITYIQ,DC=LAB" -TargetPath "OU=TestOU,DC=connectivity,DC=lab" -TargetServer ConnDC01W16.connectivity.lab -Verbose -AuthType Negotiate -Server IIQDC01W16.IDENTITYIQ.LAB 

Move-ADObject : The naming context could not be found 
At line:1 char:14 
+ Move-ADObject <<<< -Identity "CN=test4,OU=temp,DC=IDENTITYIQ,DC=LAB" -TargetPath "OU=TestOU,DC=connectivity,DC=lab" 
-TargetServer ConnDC01W16.connectivity.lab -Verbose -AuthType Negotiate -Server IIQDC01W16.IDENTITYIQ.LAB 
    + CategoryInfo   : NotSpecified: (CN=test4,OU=temp,DC=IDENTITYIQ,DC=LAB:ADObject) [Move-ADObject], ADException 
    + FullyQualifiedErrorId : The naming context could not be found,Microsoft.ActiveDirectory.Management.Commands.MoveADObject 

回答

0

是它但只有当你对目标森林至少拥有单向森林信任时才有效。