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

  • Thread starter Thread starter NTNEWS
  • Start date Start date
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)
 
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
 
Back
Top