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.

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.