Jump to content

Searching for Group Memberships


icarus

Recommended Posts

Hi all,

I am trying to search through W2K AD to find memebers of specific groups. However any of the search options I try returns no results.

Hope someone can help with this annoyance.

Thanks

Link to comment
Share on other sites


All depends on how well your OUs were setup. It can be really easy, or a pain in the arse. Guess you have the latter. Sometimes it's better to know the exact name of the group, then look at the members tab of the group instead of trying to find each user and see what group they belong too.

Just depends on your needs. Do you need find all the members of a few groups, or do you need to find all the group memberships of some users? Depending on how big the company is, you could do it in a few hours or a few months.

Link to comment
Share on other sites

MS has a utility to print out all AD objects.

You can use the Csvde utility, which is included in Windows Server 2003 and Windows 2000 Server, to create a comma-separated value (CSV) file that lists all objects in a domain. For example, to list all objects in the demo.local domain, you'd run the command

csvde -d "dc=demo,dc=local" -f domain.csv

The -d parameter specifies the root of the distinguished name (DN) from which to start the output to the .csv file, and the -f parameter provides the output filename.

Link to comment
Share on other sites

you can use DSQUERY / DSGET

following command will find any group that starts with ADM*

afther that it wil pipeline the found groups to DSGET to get the members

dsquery group -name adm* | dsget group -members

greetings /\/\o\/\/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...