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

List users from a group

Status
Not open for further replies.

dukkse

Technical User
Oct 15, 2003
42
US
Hey!!

I have an OU structure with 7 top OU:s.
Each one of them have several subOU:s in several levels (we are a global company).
In the end OU (bottom one) there is a bunch of groups and a common thing for the group names are that they contain a common lettercomination together with the group name.

I want to do a search from one of the top level OU:s and all the way down, for the common lettercombination, and for thoose groups that have this, I would like to list all users and export the group name and users within that group to a textfile.

So the list will look like this:
XBR - Groupname
ben.hur
lisa.gonzalez

XBR - Groupname2
ben.joseph
the.hulk

Any help for the searchengine and best way of connection here would be appreciated, the rest I could probably figure out myself..

Thanks
Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top