Moving computer to OU "below"

Posted on 2009-02-08
Last Modified: 2012-08-14

I need a script to do couple of things:

1. read from xml file computer names for example:


2. search AD for every computer and get his DN for example:


3. modify the DN to include OU that is below:


4. After that move the copmuter account to that OU

5. write results to xml file

Do you have something like this?
Question by:kamsuj
    LVL 6

    Expert Comment


    PowerGUI might be of Help.

    it's a free tool..

    LVL 3

    Accepted Solution

    bcoyxp it needs to be a vbs script

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
    On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
    This video discusses moving either the default database or any database to a new volume.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now