954,168 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Adding mutiple PC's to an OU via script?

Hello everyone. Been real busy, these last few weeks.

Does anyone know if there is a script(s) that i can run to add multiple PC's to an organizational unit? I want to add a few SUS servers to our domain, however the current AD setup is very unorganized. I want to start rebuilding AD, and our programmers wrote a script that can be run on all the PC's which can gives us the PC name, OS, CPU architecture, etc. Im wondering if I can take this information (PC name) and add each one to its respective OU (container), by using a script. Any help would be highly appreciated. Thanks in advanced.

jjorgensen626
Junior Poster in Training
69 posts since Oct 2003
Reputation Points: 41
Solved Threads: 2
 

It would have to work with LDAP, directly.

Aside from that, you're wanting to pull information directly out of the "hardware" script to put into the "OU" script?

Sounds like a jumble.

How many machines are you talking about? 10, 100, 500, a few thousand?

feigned
Posting Whiz
311 posts since Oct 2003
Reputation Points: 107
Solved Threads: 4
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You