Using CSVDE program to extract user with specific primary SMTP address

Posted on 2006-05-29
Last Modified: 2008-01-16
kindly guide me how i can extract users with specific "Primary SMTP address" in our AD tree.
give me specific command also.

Question by:manishchoudhary
    1 Comment
    LVL 12

    Accepted Solution

    Here is a sample CSVDE query to extract a user with primary SMTP address =

    CSVDE -f postmaster.csv -d "dc=microsoft,dc=com" -s <dc_name> -r "(&(objectClass=user)(mail=""))" -l "GivenName,name,displayName,mail"

    Please modify the query according to your domain, i have taken as example and enter your DC name also.

    Amit Aggarwal.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
    Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
    In this video we show how to create an Address List 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 Organization >> Ad…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    754 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

    18 Experts available now in Live!

    Get 1:1 Help Now