Automatically Join Computers in an OU to a security group
Posted on 2013-01-11
Hello, in our domain we have multiple offices across the country. Each of these offices has it own OU, eg London, Manchester, Liverpool etc.
Each Citys OU contains child OUs for objects eg Users, Laptops, Desktops, Security Groups, Distribution Groups etc
I have a security group that is for the whole of the domain, what I want to do is automatically make any laptop in every city City a member of the security group.
Is there a way to do this? I would mind a powershell script running every so often. ut it would be nice to be able to put in some sort of policy that forces a member of an OU into a group.