[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 764
  • Last Modified:

Automatically moving computer objects in Windows 2008 DC

Hi team,

I am setting up a new Windows 2008 / Windows 7 environment.

All our IT staff will have the ability to add computers to the domain. Computer objects are automatically created under computers in AD by default. What is the easiest way to have these automatically moved to Organisational folders say, based on IP address?

Can windows do this already some way? or do we need to write a script or exe to monitor AD and move them?

I'm sure someone has a way to do this efficently. Thanks.
1 Solution
Rich WeisslerProfessional Troublemaker^h^h^h^h^hshooterCommented:
I don't know of a good automatic way to move the computer objects to a new OU.  But, it can be done relatively easily in power shell.
The microsoft script guy wrote a script to do it in a general way, and a longer more complicated script to move them based on IP address.  That full script is linked at the end of the article, and points to the Technet Gallery.

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now