DSMOVE or you could script it within a VB script

For DSMOVE
The same user can be moved from the Sales organization to the Marketing
organization with the following command:

    dsmove "cn=Jane Doe,ou=sales,dc=microsoft,dc=com"
    -newparent ou=Marketing,dc=microsoft,dc=com

Jorge 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stuart, Cory G.
Sent: Friday, February 11, 2005 17:42
To: [email protected]
Subject: [ActiveDir] Command Line AD Question

Hi Everyone,
        I'm going to be migrating a large number of machines from a
workgroup into a domain.  I'm probably going to have some people help me and
I want to make it as easy for them as I can.  I'm planning on giving them a
CD with batch files to do all of the work for them.  I'm familiar with using
netdom to join systems to the domain, but I'm looking for the command line
tool to move the system around within AD OUs.  For example, before putting
the machine into its "permanent" OU, I may want to put it into a software OU
so that certain packages will be installed first.  So what command line
tool(s) would you recommend for this.  I really appreciate your help!!!

Thanks,

Cory
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to