move-adobject 用户跨域

问题描述 投票:0回答:0

我正在尝试将用户对象从一个 AD 域移动到另一个域,这两个域都在同一个林中。 通过运行:

Move-ADObject -Identity $User.ObjectGUID -Server $Source -TargetServer $Target -TargetPath $TargetOU

我得到一个错误:

Move-ADObject : This object may not be moved across domain boundaries either because cross-domain moves for this class are disallowed, or the object has some special characteristics, e.g.: t
rust account or restricted RID, which prevent its move
  1. $target 其目标 DC FQDN
  2. $Source 其来源 DC FQDN
  3. 森林等级 2016

检查 $target 和 $source 是否是角色持有者。两台服务器都有 PDCEmulator、RIDMaster、InfrastructureMaster 运行命令的用户是 Enterprice Admin 和 Domain Admin 你知道为什么会这样吗?

windows powershell active-directory
© www.soinside.com 2019 - 2024. All rights reserved.