Solved

Script to list all local groups and group members

Posted on 2010-11-23
2
548 Views
Last Modified: 2012-05-10
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.  
0
Comment
Question by:Carl Webster
2 Comments
 
LVL 12

Accepted Solution

by:
rlandquist earned 500 total points
ID: 34200444
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
 
LVL 36

Author Comment

by:Carl Webster
ID: 34235336
Thanks that gave me the start I needed.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I met Paul Devereux (@pdevereux) today when I responded to his tweet asking “Anybody know how to automate adding files from disk to a folder in #outlook  ?”.  I replied back and told Paul that using automation, in this case scripting, to add files t…
This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now