Results 1 to 4 of 4

Thread: Distribution List Members Export

  1. #1
    Join Date
    Oct 2004
    Posts
    17

    Distribution List Members Export

    I’m trying from so long to get the list of members in my AD 2003 distribution list with their email address. I used LDIFDE & CSVDE for the same but dint helped. I even tried searching help on web for the same, yet no success. So now, can anyone from here please provide me a sample string for doing this? Thanks for all your helps.

  2. #2
    Join Date
    Jul 2011
    Posts
    125

    Re: Distribution List Members Export

    Try something similar to below to enumerate members of
    cn=Mylist,ou=Sales,dc=MyDomain,dc=com:

    csvde -f report.txt -r "memberOf=cn=MyList,ou=Sales,dc=MyDomain,dc=com" -l sAMAccountName,displayName,mail
    ldifde -f report.txt -r "memberOf=cn=MyList,ou=Sales,dc=MyDomain,dc=com" -l sAMAccountName,displayName,mail

    You must specify the full distinguished name of the distribution group.

  3. #3
    Join Date
    Oct 2004
    Posts
    17

    RE: Distribution List Members Export

    Thank you very much for the help Eduards. You were correct. By the way can you please suggest a link for the csvde syntax that I may use for future events?

    Help appreciated.

  4. #4
    Join Date
    Jul 2011
    Posts
    125

    Re: Distribution List Members Export

    The only syntax I've seen is what you get at a DC command prompt with the
    command: csvde -?

    I redirected this to a text file for reference. The -r switch can accept any
    LDAP search filter.

Similar Threads

  1. Replies: 3
    Last Post: 17-04-2009, 06:12 PM
  2. Export users in a security/distribution list to txt file?
    By Billie in forum Active Directory
    Replies: 3
    Last Post: 26-09-2008, 03:00 AM
  3. export AD Groups and Members in to Excel.
    By Lion in forum Windows Server Help
    Replies: 3
    Last Post: 27-05-2008, 12:39 PM
  4. Export Group Members
    By seankil in forum Windows Server Help
    Replies: 4
    Last Post: 09-04-2008, 09:05 PM
  5. Distribution Groups - export lists and members
    By Isaivalan in forum Active Directory
    Replies: 2
    Last Post: 24-07-2007, 11:30 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,616,737.40879 seconds with 17 queries