Export of Users Distribution List membership ( automated)

Posted on 2005-04-20
Last Modified: 2009-01-19
Hi ,

I want to export into CSV a user and their distribution list via script..

Not 100% how to do this with either of the above..

or maybe theres another method?

Question by:stephengriffin
    LVL 4

    Accepted Solution


    Imanami SmartR

    Does a number of AD reports. This will export DLs from AD to XLS, XML or HTML.

    It is a free utility.
    LVL 1

    Expert Comment

    You can use the CSVDE command line tool on any domain controller to get that information.  The command woul look something like the following:

    csvde -f outputfile.csv -s domain_controller_name -d "ou=OU,dc=domain,dc=com" -p subtree -r (&(objectClass=user)(mailNickname=mailbox_alias)) -l "memberOf"


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
    Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
    To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now