Home All Groups Group Topic Archive Search About
Author
10 Feb 2006 7:29 PM
Tayfun Keresteci
I need a script or a specialist involment for a issue.. I’m trying to decribe
what i need.

We have nearly 30 Branch Offices and we have a computer name standarts on
our domain structure.

For example; “HE Izmir1 Branch Office” the computer name standart is: 351”PC
Serial Number”

"35" is the Area code , "1" is the number of the Branch Office in Izmir and
rest is the serial number of PC.

Also there are Security Groups in AD for each Branch Offices. The goal is,
automatically member a new computer to related SC Group or when a computer’s
name is changed (Maybe PC transfered to other Branch Office) move it to
related SC Group. Is it possible to make it via script ? or Is there any way
to make this process automatically ?

Author
12 Feb 2006 7:03 PM
Paul Williams [MVP]
You could write a scheduled script, or even an app that runs as a service,
that searches all computer names and adds them to the correct group.
There's not really any other way of doing this.  You're not going to find a
script that does this for you though.  Depending on the number of different
rules, and future branch office additions, you might want to not hard code
the rules into the code, but rather read them from XML or a config file of
some type.

--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net | http://forums.msresource.net