Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recursive enumerating the local Windows admin. group

Status
Not open for further replies.

jfk8680

Technical User
Dec 20, 2002
116
NL
Hi,

I need to generate a list of the user accounts that are member of the local Administrators group.

I do not want to see any groups in the result, but I want the script to enumerate every group it encounters and list the user accounts in these groups (recursive).

I seem to remember that I had a script/tool that did this for me but I can't remember where I got it. I have been searching the net for hours now and can't seem to find it.

Anyone???


Jeffrey Kusters
MCSA, MCSE, CCNA, CCNP

rand.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top