Link to home
Start Free TrialLog in
Avatar of kamsuj
kamsujFlag for Poland

asked on

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?
Avatar of bcoyxp
bcoyxp
Flag of Saudi Arabia image

hi,

PowerGUI might be of Help.

http://www.powergui.org/

it's a free tool..

regards
ASKER CERTIFIED SOLUTION
Avatar of kamsuj
kamsuj
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial