TechRepublic : A ZDNet Tech Community

TR Dojo

by Bill Detwiler, Head Technology Editor
Contact

Active Directory can hold valuable user data, including contact information, their departments, and even office locations. Using this data source for administrative purposes can save you time when performing everyday tasks like auditing user accounts and checking software licenses. In this IT Dojo video, I show you an easy way to extract the data stored in Active Directory using the Comma Separated Value Data Exchange (CSVDE) command.

The CSVDE command is a tool you may never know about, unless you just stumble across it. But once you find it, you’ll find all kinds of cool things it can do. For example, you can generate a dataset from an OU called ‘Directors’ that contains each user’s given-name, surname, and default e-mail address using the command (all on one line):

csvde -d “OU=Directors,DC=domain,dc=local” -f test.csv -r “(&(objectClass=user)(objectCategory=person)” -l ” givenName, sn, mail”

This is just one of many ways to use the CSVDE command. For more information on using the CSVDE command read Justin Fielding’s article, “Simplify admin tasks by exporting Active Directory data with CSVDE.” From the article page, you can print Justin’s tip, save it to your TechRepublic Workspace, e-mail it to a friend or colleague, and even Digg it.

For more Active Directory advice, check out the following TechRepublic Resources:

Bill DetwilerBill Detwiler is Head Technology Editor of TechRepublic. Previously, he worked as a Support Tech and IT Manager in the social research and energy industries. Read his full bio and profile. You can also follow him on Twitter.

Print/View all Posts Comments on this blog

Looking for creative ways to extract data from Active Directory with CSVDE Bill Detwiler - TechRepublicTechrepublic Moderator | 06/09/08
CSV import..... shellye@... | 06/10/08
Good Complement to LDIF TexasJetter | 06/10/08
From what I understand CSVDE Dumphrey | 06/10/08
You can use it to add but not modify Dark_Knight | 06/10/08
A free tool that works better klewis@... | 06/10/08
Can you export this data to be used? Dark_Knight | 06/10/08
exporting data klewis@... | 06/11/08
RE: Video: Simplify admin tasks by exporting Active Directory data with CSVDE stephen.yale@... | 06/10/08
can somebody enlighten me please? merumaru@... | 06/12/08

What do you think?

White Papers, Webcasts, and Downloads

Recent Entries

TR on Twitter

Archives

TechRepublic Blogs



IT Help Desk Survival Guide, Third Edition
TechRepublic's IT Help Desk Survival Guide, Third Edition provides tools and recommendations to help you better manage help desk services, improve end-user support, troubleshoot frustrating hardware issues, identify quick fixes to vexing Windows problems, and help users make the most of Microsoft Office 2003.
Buy Now
500 Things Every Technology Professional Needs to Know
Did you know Microsoft's RegClean does not work with XP but you can use shareware to clean your registry? Did you know most wireless access points don't have encryption enabled by default? Did you know there are 500 tidbits of information contained in TechRepublic's 500 Things Every Technology Professional Needs to Know that will help you become a successful IT professional.
Buy Now

SmartPlanet

Click Here