Home All Groups Group Topic Archive Search About

Local Administrator Group



Author
21 Nov 2007 9:49 PM
Fausto
hello I need a script that shows all users memebers of local administrator
group in my domai

Author
21 Nov 2007 11:24 PM
Richard Mueller [MVP]
Fausto wrote:

> hello I need a script that shows all users memebers of local administrator
> group in my domai

I have an example VBScript program to document the members of a local group,
like Administrators, linked here:

http://www.rlmueller.net/Enumerate%20Local%20Group.htm

The program reveals all direct members, plus all members due to group
nesting, both of local groups and domain groups. The program is designed to
enumerate the members of the local Administrators group, but you could
assign the NetBIOS name of a remote computer to the variable strComputer and
enumerate the members of the Administrators group on that remote computer
(if you have permissions).

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--
Author
22 Nov 2007 12:24 AM
Jeffery Hicks [MVP]
If you can wait a week or so, my December Mr. Roboto column will probably be
able to help.  Keep an eye on
http://redmondmag.com/columns/columnist.asp?ColumnistsID=38

--
Jeffery Hicks
Microsoft PowerShell MVP
http://www.scriptinganswers.com
http://www.powershellcommunity.org

Now Available: WSH and VBScript Core: TFM
Coming Soon: Windows PowerShell: TFM 2nd Ed.

Show quote
"Fausto" <Fau***@discussions.microsoft.com> wrote in message
news:77A8F4EE-6616-4CBF-A29C-61C73CBF5522@microsoft.com...
> hello I need a script that shows all users memebers of local administrator
> group in my domai

AddThis Social Bookmark Button