Solved

CSVDE Export

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
In this video we show how to create a Distribution Group 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 Recipients >>…
In this video we show how to create a Contact 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 Recipients >> Contact ta…

744 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

13 Experts available now in Live!

Get 1:1 Help Now