Video: Simplify admin tasks by exporting Active Directory data with CSVDE
- Date: June 9th, 2008
- Author: Bill Detwiler
- Category: Network Administration, Networking, Operating Systems, TR Dojo Video, Windows
- Tags: Administrator, Video, CSVDE, Microsoft Windows Active Directory, Directory Services, Enterprise Software, Software, Bill Detwiler
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:
- 10 ways to benchmark your Active Directory environment
- Query Active Directory for empty computer account descriptions
- Batch Active Directory tasks with ease using dsmove
- Tightening Active Directory-Integrated DNS zone aging
- Reconcile IP addressing from Active Directory DNS for Windows Server 2003 subdomains
- Use the DNS CNAME for database connectivity
- Windows Server 2008 Domain and Forest Functional Levels
- How do I use the Windows Time Service?
Bill 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

