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

Scipt view members of group who belong to a specific OU

Status
Not open for further replies.

cyberspace

Technical User
Aug 19, 2005
968
GB
I've been asked to provide a list of members of a specific group who belong to a particular site.

There is 1 OU per site. There is an OU which contains 6 security groups. Most users are assigned to at least 1 of these groups.

I need to find out people from Site X who belong to each one of these groups. Eg People from Site A who belong to Group 1. If I go to the group properties and click members, it naturally shows all members from all sites, and this makes getting the information I need a lengthy process. I just want to see Site X in the results.

Is this something that I could achive with DSGET or DSQUERY? Or perhaps a script?

Thanks

'When all else fails.......read the manual'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top