Re: List of all users and their group membership



I should have mentioned this before but what you could try is to pipe the
output of dsquery user to dsget. This gives you a lot of possibilities in
your searches. Just put a | between the commands. The link below gives an
example of piping the commands. You should be able to use dsquery user to
enumerate all users in the domain. --- Steve

http://www.windowsitpro.com/Article/ArticleID/40447/40447.html

<tim.cole@xxxxxxxxxxxxxxxx> wrote in message
news:1148666460.414094.211360@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I only see where this will work on 1 Ou at a time... not the entire
domain..... is this correct?



.



Relevant Pages

  • Re: Export Usernames and Email Addresses
    ... DSGet command -- it is far more capable than the Net commands. ... You may also need to combine this with a preliminary DSQuery User ...
    (microsoft.public.windows.server.active_directory)
  • RE: Bulk password reset?
    ... You could use dsquery user to query for the users and then pipe the info ... into dsmod to change their passwords: ...
    (microsoft.public.win2000.advanced_server)