Script to check for duplicate users in groups

by Rich.Shirley at 2013-03-18 04:42:18

Hey Guys,

I hope you might be able to help me with this one?!

I need to write a script that can reference a list of security groups in AD (60+), look through the list of people who are members of these groups - and then check for people who are in more than one of these groups. As I need to get these exported into a CSV file so I can remove them from ones they really shouldn’t be in anymore, to lock down our domain security further.

I’ve had a quick think on how to do this… But if I’m honest I’m stumped right now. Any ideas?!


by Rich.Shirley at 2013-03-18 09:10:22
Don’t worry - I’ve just stumbled across a tool that does everything I need :slight_smile: