Solved

CSVDE Export

Posted on 2006-07-05
4
2,543 Views
Last Modified: 2011-09-20
I need to export emaill address/attributes from AD.  I have been using:

CSVDE -f File_name.csv -d "dc=microsoft,dc=com" -s <dc_name> -r "((objectClass=user))" -l "objectClass,givenname,sn,displayName,mailnickname,mail"

It worked the first times I used it when i was test it.  Now that I want to go live with it returns with 'no entries found'.

What could be different or what could have changed?

Mike
0
Comment
Question by:xmouser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 29

Expert Comment

by:mass2612
ID: 17047715
This command looks ok to me. Does the account your using to run it have correct permissions to read the directory?
0
 
LVL 4

Accepted Solution

by:
xqs earned 250 total points
ID: 17049623
If you only need to have email address information you can change the filter (-r) to "(mail=*)"
By default it should search the subtree, but you can try to add the -p subtree switch.

CSVDE -f File_name.csv -d "dc=microsoft,dc=com" -s <dc_name> -r "(mail=*)" -l "objectClass,givenname,sn,displayName,mailnickname,mail" -p subtree -j logfile.txt

You can look in the logfile for any issues that might occur.
0
 

Author Comment

by:xmouser
ID: 17049701
Yes the account I am using has domain admin rights.  I am exporting the infor for a reimoroit in to an address book of another domain.
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
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…
In this video we show how to create an Accepted Domain 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 >> Ac…
Suggested Courses

615 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