Re: Export all AD Groups with member : CSVDE ?

Giganews Newsgroups
Subject: Re: Export all AD Groups with member : CSVDE ?
Posted by:  Richard Mueller [MVP] (
Date: Tue, 8 Sep 2009

"anuloma_viloma" <herve.puischevri…> wrote in message

I need to export a list of all AD groups with their members. The
output must be a table.

Is it possible to do this with CSVDE or any other DOS command line ?

If you know a software, tell me.

I don't know anything about scripts ...

Thanks in advance,
Hervé -
You can use the following to output all groups and their members:

dsquery group | dsget group -members

The syntax help says the output is in table format. I'm not sure what you
mean by output in a table. If you want more control you will need to use a
script. I have an example VBScript program that documents the membership of
all groups in the domain linked here:

Richard Mueller
MVP Directory Services
Hilltop Lab -




In response to

Export all AD Groups with member : CSVDE ? posted by anuloma_viloma on Tue, 8 Sep 2009