Solved

CSVDE Export

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Utilizing an array to gracefully append to a list of EmailAddresses
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…
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…
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…

831 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