I will try that, 
Tool of choice would be the custom queries in the AD users and computers
(from 2003 adminpak)

It makes it very easy to export the list, and I can save the query
 

-----------------------------------------
Rob Weatherly
-----------------------------------------

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Presley, Steven
Sent: Thursday, December 02, 2004 11:54 AM
To: Exchange Discussions
Subject: Re: Query for DGs

Depending on the tool you prefer to use the LDAP query below should
work:

"(&(objectClass=group)(proxyAddresses=*))" 

Be sure to query the entire forest though.  If using LDIFDE, then it
would be:

ldifde -s GCservername -t 3268 -d "dc=rootdomain,dc=com" -r
"(&(objectClass=group)(proxyAddresses=*))" -l displayName -f
output.log

Does this help?


On Thu, 2 Dec 2004 10:53:49 -0500, Weatherly, Rob
<[EMAIL PROTECTED]> wrote:
> Looking for a bit of help here, I've been asked for a list of all
> Distribution groups in Active Directory
> Is there an easy way to get this list?
> 
> If not does anyone know how I would write a custom query that I can
run
> in AD Users and computers?
> 
> -----------------------------------------
> Rob Weatherly
> -----------------------------------------
> 
> _________________________________________________________________
> List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
> Web Interface: http://intm-dl.sparklist.com/read/?forum=exchange
> To subscribe: http://e-newsletters.internet.com/discussionlists.html/
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
> Exchange List admin:    [EMAIL PROTECTED]
> To unsubscribe via postal mail, please contact us at:
> Jupitermedia Corp.
> Attn: Discussion List Management
> 475 Park Avenue South
> New York, NY 10016
> 
> Please include the email address which you have been contacted with.
> 
>

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface: http://intm-dl.sparklist.com/read/?forum=exchange
To subscribe: http://e-newsletters.internet.com/discussionlists.html/
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.




_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface: http://intm-dl.sparklist.com/read/?forum=exchange
To subscribe: http://e-newsletters.internet.com/discussionlists.html/
To unsubscribe send a blank email to [EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to