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

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.
LVL 15
Who is Participating?
plimpiasConnect With a Mentor 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
mikelittlewoodAuthor Commented:
That's a nice pointer but my 2 main problems are nested subgroups and getting the other fields.
mikelittlewoodAuthor Commented:
Solved it myself
All Courses

From novice to tech pro — start learning today.