質問

していくといったアクティブディレクトリのグループ別の組織を用いたユー?

ります。

を進めようと思い、グループ"IT部門":

  (CN=IT Department, OU=Technology Department, OU=Departments,DC=Company,DC=ca)

  (CN=IT Department, OU=Temporarily Moved Groups, DC=Company,DC=ca)
役に立ちましたか?

解決

スクリプトにしたり修正いうございます。

以下のスクリプトは私を解決するために用いられ私の問題です。:

$from = [ADSI]"LDAP://CN=IT Department, OU=Technology Department, OU=Departments,DC=Company,DC=ca"
$to = [ADSI]"LDAP://OU=Temporarily Moved Groups, DC=Company,DC=ca"
$from.PSBase.MoveTo($to,"cn="+$from.name)

他のヒント

いこいこいくことができる。

$objectlocation= 'CN=IT Department, OU=Technology Department, OU=Departments,DC=Company,DC=ca'
$newlocation = 'OU=Temporarily Moved Groups, DC=Company,DC=ca'

$from = new-object System.DirectoryServices.DirectoryEntry("LDAP://$objectLocation")
$to = new-object System.DirectoryServices.DirectoryEntry("LDAP://$newlocation")
$from.MoveTo($newlocation,$from.name)
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top