Scripting Stuff Menu Header
Users/Groups
Active Directory
NIC/IP Addresses
OS/Hardware
Disk Quotas
Shares/Files/Sessions
Others
MS FTP Server
MS WWW Server
Application Pools
Others

Programs Menu Header

Miscellaneous Stuff Menu Header


Visitor #: 296278
MSN Search     windowsadminscripts.com www    

Script: Enumerate Users
This script will enumerate user and groups on a server. There a few different usages for the script. You can enumerate all users or all groups. You can also enumerate just the users in a certain group. All the information is written to a comma delimited text file, except the enumeration of groups.

Script Usage:
Enum Users: cscript users.vbs /computer:[ComputerName] /group:"[GroupName]"
Enum Groups: cscript users.vbs /computer:[ComputerName] /group:"list"
Enum All Users: cscript users.vbs /computer:[ComputerName] /group:"all"

Email Address To Send Sample Code To:
@   


Click HERE to download this script.


Web Wiz Guide


Copyright 2006 WindowsAdminScripts.com all rights reserved.