Moving computer to OU "below"

Hi,

I need a script to do couple of things:

1. read from xml file computer names for example:

comp1
comp2
comp3

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

CN=comp1,ou=computers,dc=testdomain,dc=local

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

CN=comp1,OU=TEST,ou=computers,dc=testdomain,dc=local

4. After that move the copmuter account to that OU

5. write results to xml file

Do you have something like this?
LVL 3
kamsujAsked:
Who is Participating?
 
kamsujConnect With a Mentor Author Commented:
bcoyxp it needs to be a vbs script
0
 
bcoyxpCommented:
hi,

PowerGUI might be of Help.

http://www.powergui.org/

it's a free tool..

regards
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.