need scripting assistance moving computers to a specific OU
Posted on 2011-02-28
hello, looking for a script that will accomplish the following:
- ping all of the computers in the default "Corp Computers" OU, and based on their IP address move the computer objects to the appropriate OU.
for example, we have broken down our Computer object structure to be: EMEA / NASA / APEC etc
i have a list of subnets defined in sites and services, the script logic would need to reference an list that would determine what regional OU to move the computer to.
currently this is a manual process. thanks in advance,