Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Move computers in AD to specific OUs beased on their IP addresses

$
0
0

Hi all,

I have the below subnets defined in AD Sites and Services which are distributed between 8 AD sites, I am looking for a tool\script that will move each computer in AD to its specific OU based on computer IP; i.e. if computer has IP from 10.8.0.0/26 subnet then move it to OU x and so on..

10.8.0.0/26
10.12.83.0/26
10.14.0.0/26
10.24.16.0/26
10.40.16.0/26
10.56.0.0/26
10.104.0.0/26
10.128.48.0/26
10.176.0.0/26
10.176.16.0/26
10.176.32.0/26
10.192.0.0/26
10.192.16.0/26
10.192.32.0/26
10.192.48.0/26
10.192.64.0/26
10.208.0.0/26
10.208.16.0/26
10.208.32.0/26
10.0.0.0/13
10.1.102.90/32
10.112.0.0/13
10.16.0.0/13
10.32.0.0/13
10.48.0.0/13
10.64.0.0/13
10.65.0.0/16
10.80.0.0/13
10.96.0.0/13

I am looking for a tool



Viewing all articles
Browse latest Browse all 31638

Trending Articles