Solved

CSVDE Export

Posted on 2006-07-05
4
2,536 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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
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.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

680 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