2006年3月17日
movetreeコマンド不発
同一フォレスト内のオブジェクト(ユーザやOU)を移動させることができるのがこのmovetreeコマンドなんだが、部署の移動とかユーザの移動とかの場合に効果的だと思われる。ちなみに同一ドメイン内ならGUIで可能だ。
で結局不発だったんだが、原因はnativeモード移動先ドメインがNativeモードじゃないといけないんだって。まぁ仕方ない。ゼロからOU、GPOを作るのは面倒くさいなぁ。
参考までにmovetreeコマンドの使用例;(自分のためのメモ)
The desired operation is to move the Promotions OU from Marketing to Sales and rename the new OU Sales Promotions. The MOVETREE command performs a test run, and then, if no errors are encountered, performs the move operation.
movetree /start /s Server1.Marketing.Reskit.com /d Server2.Sales.Reskit.com /sdn OU=Promotions,DC=Marketing,DC=Reskit,DC=Com /ddn OU=Sales Promotions,DC=Sales,DC=Reskit,DC=com
*Movetreeコマンドは2003CDのSupport/tool/setup.msiに梱包されている。