How to obtain a list of all large security group memberships in Active Directory
Hello,
We need to produce a list of all domain security groups in all three of our Active Directory domains that contain more than 500 members. We have been asked to do so as a part of our internal Windows Security audit processes.
I am wanting to know if there is a way to easily produce this list? Ideally I would like it to be in CSV format so that we can easily copy and paste the data in our report.
I know how to use dsget and dsquery etc to obtain group memberships but how to get a report that shows the count of members in these groups I don't know.