I'm looking for a script for managing my shadow groups in Active Directory.
Company -> Dep1 -> Tech
Company -> Dep1 -> Users
Company -> Dep2 -> Tech
Company -> Dep2 -> Users
I would like to have:
Shadow Group Company (all users - including sub ou's)
Shadow Group Company, Dep1 (all users in Dep1 - including sub ou's)
Shadow Group Company, Dep1, Tech (all users in Tech)
... etc. etc...
I have found this: http://www.sole.dk/post/active-directory-shadow-group-script-will-let-you-spend-less-time-on-updating-group-memberships/?p=446
... but I need to have the full OU in the shadow group name
Thanks in advance.