SCCM OSD Add Machine to OU Based on IP Range

Hi ,

Im Trying to get my OSD to automaticly add a new built "Unknown Computer" to the correct OU.

I know i can point the Machine at an OU but i want to be able to do it based on the IP address

IE If 10.1.1 add to main office , if 10.1.2 add to branch office

Im sure there is a way but no amount of googleing has helped

any advice would be apreciated
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nagendra Pratap SinghDesktop Applications SpecialistCommented:
You want to use MDT integration?

You can use the gateway variable

Generate Computer names in MDT 2010/SCCM based on prefix and a sequence number including OU assignment

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
What if two separate locations share the same gateway IP Address.

Location A = 10.10.1.XX , gateway is
Location B = 10.10.2.XX , gateway is
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.