We help IT Professionals succeed at work.

Export list of group members to excel or text file including nested groups

Medium Priority
510 Views
Last Modified: 2013-11-18
Does anyone have a vbscript to enumerate the list of members of a specific AD group and export to a text file or excel. The script needs to also read subgroups and their members.

I also need to export other fields along with the users, e.g. email address, description, telephone number.
Comment
Watch Question

Mike LittlewoodEngineer

Author

Commented:
That's a nice pointer but my 2 main problems are nested subgroups and getting the other fields.
Commented:
Two that i tried to link to

List Other Groups a Group Belongs To



List the Active Directory Groups a User Belongs To

They are under active directory > groups

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Mike LittlewoodEngineer

Author

Commented:
Solved it myself
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.