Exporting distribution group list members to a file

This is a discussion on Exporting distribution group list members to a file within the Microsoft Exchange forums in Microsoft Tools category; Hi, I want to export the members of various distribution groups to files, so the users within them can be displayed. Please can someone tell me how to do this? We have a Windows 2000 \ Exchange 2000 network. Thanks....

Go Back   Application Development Forum > Microsoft Tools > Microsoft Exchange

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 12-08-2005, 05:37 AM
quentinhudson@hotmail.com
Guest
 
Default Exporting distribution group list members to a file

Hi,

I want to export the members of various distribution groups to files,
so the users within them can be displayed. Please can someone tell me
how to do this? We have a Windows 2000 \ Exchange 2000 network.

Thanks.

Reply With Quote
  #2  
Old 12-08-2005, 07:33 AM
Mark Arnold [MVP]
Guest
 
Default Re: Exporting distribution group list members to a file

On 8 Dec 2005 02:37:44 -0800, quentinhudson@hotmail.com wrote:

>Hi,
>
>I want to export the members of various distribution groups to files,
>so the users within them can be displayed. Please can someone tell me
>how to do this? We have a Windows 2000 \ Exchange 2000 network.
>
>Thanks.

Here you go:
http://support.microsoft.com/?kbid=555365
Nice community article from Todd.
Reply With Quote
  #3  
Old 12-08-2005, 09:13 AM
quentinhudson@hotmail.com
Guest
 
Default Re: Exporting distribution group list members to a file




Thanks for the article, but I am still having problems. I am trying to
export all the members of a distribution groups called 'all at james
house', from the domain wellbeing.org.uk, using the domain controller
wbepdc01. I have used this string:


ldifde -f export.ldf -d "cn=\All at James House,ou=Distribution
Groups,dc=wellbeing,dc=org, dc=uk" -l member -s wbepdc01


C:\>ldifde -f export.ldf -d "cn=\All at James House,ou=Distribution
Groups,dc=wellbeing,dc=org, dc=uk" -l member -s wbepdc01
Connecting to "wbepdc01"
Logging in as current user using SSPI
Exporting directory to file export.ldf
Searching for entries...
Writing out entries
No Entries found

There are loads of members of this group, so I cannot understand why I
am getting this result. Is my syntax defective?

Thanks.

Mark Arnold [MVP] wrote:
> On 8 Dec 2005 02:37:44 -0800, quentinhudson@hotmail.com wrote:
>
> >Hi,
> >
> >I want to export the members of various distribution groups to files,
> >so the users within them can be displayed. Please can someone tell me
> >how to do this? We have a Windows 2000 \ Exchange 2000 network.
> >
> >Thanks.

> Here you go:
> http://support.microsoft.com/?kbid=555365
> Nice community article from Todd.


Reply With Quote
  #4  
Old 12-08-2005, 12:04 PM
IvKo
Guest
 
Default Re: Exporting distribution group list members to a file

Please see

"IMI Distribution List Content Exporter" - it is part of IMI GAL Exporter

The URL is:
http://www.imibo.com/imidev/Exchange/imige.htm

We uses it without any problems more that 6 years....



<quentinhudson@hotmail.com> wrote in message
news:1134051187.621482.177490@g49g2000cwa.googlegr oups.com...
>
>
>
> Thanks for the article, but I am still having problems. I am trying to
> export all the members of a distribution groups called 'all at james
> house', from the domain wellbeing.org.uk, using the domain controller
> wbepdc01. I have used this string:
>
>
> ldifde -f export.ldf -d "cn=\All at James House,ou=Distribution
> Groups,dc=wellbeing,dc=org, dc=uk" -l member -s wbepdc01
>
>
> C:\>ldifde -f export.ldf -d "cn=\All at James House,ou=Distribution
> Groups,dc=wellbeing,dc=org, dc=uk" -l member -s wbepdc01
> Connecting to "wbepdc01"
> Logging in as current user using SSPI
> Exporting directory to file export.ldf
> Searching for entries...
> Writing out entries
> No Entries found
>
> There are loads of members of this group, so I cannot understand why I
> am getting this result. Is my syntax defective?
>
> Thanks.
>
> Mark Arnold [MVP] wrote:
> > On 8 Dec 2005 02:37:44 -0800, quentinhudson@hotmail.com wrote:
> >
> > >Hi,
> > >
> > >I want to export the members of various distribution groups to files,
> > >so the users within them can be displayed. Please can someone tell me
> > >how to do this? We have a Windows 2000 \ Exchange 2000 network.
> > >
> > >Thanks.

> > Here you go:
> > http://support.microsoft.com/?kbid=555365
> > Nice community article from Todd.

>



Reply With Quote
  #5  
Old 12-08-2005, 10:09 PM
Rich Matheisen [MVP]
Guest
 
Default Re: Exporting distribution group list members to a file

quentinhudson@hotmail.com wrote:

>
>
>
>Thanks for the article, but I am still having problems. I am trying to
>export all the members of a distribution groups called 'all at james
>house', from the domain wellbeing.org.uk, using the domain controller
>wbepdc01. I have used this string:
>
>
>ldifde -f export.ldf -d "cn=\All at James House,ou=Distribution
>Groups,dc=wellbeing,dc=org, dc=uk" -l member -s wbepdc01



Try this:

ldifde -f export.ldf -d "ou=Distribution Groups,dc=wellbeing,dc=org,
dc=uk" -r "(cn=All at James House)" -l member -s wbepdc01


--
Rich Matheisen
MCSE+I, Exchange MVP
MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
Don't send mail to this address mailto:h.pott@getronics.com
Or to these, either: mailto:h.pott@pinkroccade.com mailto:melvin.mcphucknuckle@getronics.com mailto:melvin.mcphucknuckle@pinkroccade.com
Reply With Quote
  #6  
Old 12-09-2005, 04:30 AM
quentinhudson@hotmail.com
Guest
 
Default Re: Exporting distribution group list members to a file

Thanks buddy, but I got the same result of 'no entries found'. I have
decided to just count the objects manually as I am under a deadline. I
appreciate your efforts though.

Best,

QH

Reply With Quote
  #7  
Old 12-09-2005, 09:55 AM
PMW
Guest
 
Default Re: Exporting distribution group list members to a file

Here's how we have done it. In Outlook open a new message. Clisk on
the To: box and find the DL in the GAL then select to add the
individual users to the To: field. Once all of the members are listed
in the To: field cut and past them to a text file and them import that
into Excel. Might not be the best way with really large lists.

Good Luck..

Reply With Quote
  #8  
Old 12-09-2005, 09:46 PM
Rich Matheisen [MVP]
Guest
 
Default Re: Exporting distribution group list members to a file

quentinhudson@hotmail.com wrote:

>Thanks buddy, but I got the same result of 'no entries found'. I have
>decided to just count the objects manually as I am under a deadline. I
>appreciate your efforts though.


Then add the "-p subtree" to the set of command line switches. I only
corrected the base name (which was wrong) and added the ldap filter
(which was missing) to search for the "cn" property value.

--
Rich Matheisen
MCSE+I, Exchange MVP
MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
Don't send mail to this address mailto:h.pott@getronics.com
Or to these, either: mailto:h.pott@pinkroccade.com mailto:melvin.mcphucknuckle@getronics.com mailto:melvin.mcphucknuckle@pinkroccade.com
Reply With Quote
  #9  
Old 12-13-2005, 04:29 AM
quentinhudson@hotmail.com
Guest
 
Default Re: Exporting distribution group list members to a file

Many thanks to PMW and Rich. I will certainly try these methods should
I need to do this again.

QH

Reply With Quote
  #10  
Old 06-20-2008, 04:24 PM
Junior Member
 
Join Date: Jun 2008
slacker is on a distinguished road
Default Re: Exporting distribution group list members to a file

I was having the same problem, even after following the advice of using the -r "(cn=XXX)" and -p subtree switches. I finally was able to get it to work by removing the ou=XXX.

So referring to the earlier question, I think the following command would work for you.

ldifde -f export.ldf -d "dc=wellbeing,dc=org,dc=uk" -r "(cn=All at James House)" -l member -p subtree -s wbepdc01
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 01:57 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.