Script to list all local groups and group members

Given a text file that contains a list of NetBIOS server names, I need a script to list all the local groups on a server and the members of each group including any nested groups.  
LVL 37
Carl WebsterAsked:
Who is Participating?
 
rlandquistConnect With a Mentor Commented:
Take a look at this link.  The second post is from Richard Mueller and is a good place for you to start.

http://www.eggheadcafe.com/software/aspnet/29670979/read-local-admin-usersgroups.aspx
0
 
Carl WebsterAuthor Commented:
Thanks that gave me the start I needed.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.