Best way to EXPORT user attributes similar to OLD Exchange 5.5 "Directory Export"

N

NTNEWS

What is the best tool for this? Is there resource kit tools or graphical
tools for exporting directory info. For example "First, last Name, Email
Address, Phone Number, Department"?

I am using csvde.exe but it seems to add alot of "massage" work after it is
complete.

For example:
csvde -r "(objectClass=user)" -l
sn,initials,givenName,displayName,telephonenumber,proxyAddresses -m -n -f
c:\1.csv

it also appears that the above give me MACHINENAME$ as well, not just "user"
objects

Any thoughts/ideas?

(e-mail address removed)
 
M

Matjaz Ladava [MVP]

This is because computer class in AD inherits from user class. To get only
user accounts you would need to use -r "(objectCategory=Person)" in your
filter. It is better to use ObjectCategory, because it is indexed and single
values as opposed to objectClass which is multivalued and not indexed and
therefore slow to search on.

--
Regards

Matjaz Ladava, MCSE, MCSA, MVP
Microsoft MVP - Active Directory
(e-mail address removed), (e-mail address removed)
http://ladava.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top