Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Using CSVDE program to extract user with specific primary SMTP address

Posted on 2006-05-29
Medium Priority
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

aa230002 earned 2000 total points
ID: 16782630
Here is a sample CSVDE query to extract a user with primary SMTP address = postmaster@domain.com

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

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

Amit Aggarwal.

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
To show how to generate a certificate request 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 Servers >> Certificates…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

581 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