Mike Littlewood
asked on
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.
I also need to export other fields along with the users, e.g. email address, description, telephone number.
ASKER
That's a nice pointer but my 2 main problems are nested subgroups and getting the other fields.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Solved it myself
here is a start, a script to identify which groups a user belongs to.
http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true
http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true