This command-line tool displays members of local groups on remote servers or domains.
For computers running Microsoft® Windows® 2000 Professional, a local group is one that can be granted permissions and rights from the local computer and, if the computer participates in a domain, user accounts and membership in global groups both from its own domain and from trusted domains.
To manage users and groups on your computer in Windows 2000, use Local Users and Groups, under the System Tools node of the Computer Management MMC snap-in, one of the Administrative Tools.
local groupname [{domainname | \\server}] [/?]
Where:
Run without parameters, local also displays this syntax screen.
Note
To list members of global groups, use Global.exe, another Windows 2000 Resource Kit tool.
local "server operators" nt_domain
displays the members of the group server operators in the nt_domain domain.
local "Power Users" EastCoast
displays the members of the group Power Users in the EastCoast domain.
local Administrators \\blackcat
displays the members of the group Administrators on the server blackcat.
For a group with many users, you can use Local to redirect the member list into a text file, for example:
local Group1 \\Server1 > globallist.txt
Then text files containing membership of different groups can be compared for discrepancies with a program like Windiff, which is included of the Windows 2000 Support Tools.
File Required