Free Tool to Generate Group Membership List

I am looking for a free tool that would generate report of Group Membership.

Thank you very much.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Justin OwensITIL Problem ManagerCommented:
Are you wanting something that enumerates AD and generates a complete report of all Groups, or are you wanting something that gives you a report of one group?

The easiest way to do it is if you can use the Quest AD cmdlets and use Get-QADGroupMember from here:  
 If you need to do it with code then  
 $group = [ADSI] "LDAP://cn=Accounts,ou=AllGroups,dc=starking,dc=org"  
 foreach ($member in $group.member)  

If your group has over 1000 members, this will only grab the first 1000.  If you need more than that, try these sources:

Enumerating Groups That Contain Many Members  
 Enumerating Members in a Large Group  
 Searching Using Range Retrieval  
 Attribute Range Retrieval

we are using dumpsec to generate reports it a free and very complete reporter
you can find it here
DonNetwork AdministratorCommented:
Here is a script from farhan that gets all group members to a file

* Following batch script will get all the members of groups that are specified in Groups.txt file.
* It will generate a file on C: drive root with name GroupMembers.txt having all members information.
* Copy and paste following script in notepad and save it with .BAT extension.

Forgot the code

@Echo Off
IF NOT EXIST C:\groups.txt Goto ShowErr
FOR %%R IN (C:\groups.txt) Do IF %%~zR EQU 0 Goto ShowErr
IF EXIST C:\GroupMembers.txt DEL /F /Q C:\GroupMembers.txt

FOR /F "delims=#" %%g in (C:\groups.txt) Do (
      Echo Retrieving members of group: %%g
      Echo Retrieving members of group: %%g               >>C:\GroupMembers.txt
      DSQuery group -name "%%g*" | dsget group -members >>C:\GroupMembers.txt
      Echo. >>C:\GroupMembers.txt

Goto EndScript
Echo C:\groups.txt file does not exist or file is empty!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.