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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export Group Members - Active Directory

Status
Not open for further replies.
Jun 28, 2002
34
0
0
GB
Is it possible to export all the memebers of a particular group from Active Directory (Windows 2000). I know you can use command prompt tools LDIFDE & CSVDE but I haven't a clue how to use them. Any help would be much appreciated.

Thanks
 
How about the command NET GROUP. Run this on a DC though...can't be run from a member server.

NET GROUP [groupname [/COMMENT:"text"]] [/DOMAIN]
groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
groupname username [...] {/ADD | /DELETE} [/DOMAIN]

NET GROUP adds, displays, or modifies global groups on servers. Used
without parameters, it displays the groupnames on the server.

groupname Is the name of the group to add, expand, or delete.
Supply only a groupname to view a list of users
in a group.
/COMMENT:"text" Adds a comment for a new or existing group.
The comment can have as many as 48 characters. Enclose
the text in quotation marks.
/DOMAIN Performs the operation on a domain controller
of the current domain. Otherwise, the operation is
performed on the local computer.
username[ ...] Lists one or more usernames to add to or remove from
a group. Separate multiple username entries with a space.
/ADD Adds a group, or adds a username to a group.
/DELETE Removes a group, or removes a username from a group.

NET HELP command | MORE displays Help one screen at a time.

Joseph L. Poandl
MCSE 2003

If your company is in need of experts to examine technical problems/solutions, please check out (Sales@njcomputernetworks.com)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top