Introduction to CSVDE and LDIFDE
The main purpose of this page is to explain the differences between Microsoft’s CSVDE and LDIFDE. If you can provide data about your users, computers or contacts in a text file, then CSVDE or LDIFDE can create the corresponding account in Windows Server 2003/8 Active Directory.
The second purpose of this page is to act as a mini sitemap to guide you to my tutorials for importing and export with CSVDE and LDIFDE.
However, before I go into detail, here are three classic uses of the these Windows Server 2003 and 2008 commands;
- Bulk import of NEW user accounts. (CSVDE)
- Creation of computer accounts.
- Modification of EXISTING Active Directory accounts. (LDIFDE)
CSVDE Comma Separated Value Data Exchange. When importing accounts, always try CSVDE first because the syntax is so much easier than LDIFDE. Another advantage of Microsoft’s CSVDE is it understands and thrives on CSV files. This means that you can manipulate the data in a spreadsheet before you import data into Active Directory. Next StepCSVDE – Export. The best way to get started. CSVDE – Import. How to add user accounts to Active Directory. | LDIFDE Lightweight Data Interchange Format, Data Exchange. My advice is use Microsoft’s LDIFDE when ever CSVDE is not up to the job, for example, if you need to import users with passwords CSVDE will not work. LDIFDE has more powerful verbs, for instance CSVDE can only add users, whereas LDIFDE can modify or even delete their accounts. Next StepLDIFDE – Export. An easy way to get started. LDIFDE – Import. How to add, modify or delete user accounts.
|
See More on CSVDE and LDIFDEAlternatives to CSVDE and LDIFDEHaving given an honest and fair account of both CSVDE and LDIFDE, I urge you also to consider PowerShell or VBScript for creating Active Directory accounts. PowerShell and Active DirectoryExample Simple Script to Echo the Active Directory Domain# PowerShell Connects to Active Directory $Dom = ‘LDAP://DC=cp;DC=mosel’ Learning PointsNote 1: ‘LDAP://DC=cp;DC=mosel’. Rather than using the traditional .local namespace for non-internet domains, I prefer .mosel merely because it happens to be the road where I live! Naturally you changed the value for this $Dom variable in your live script? Didn’t you? Note 2: New-Object is such an insignificant command, yet it is vital for creating objects, which we can use for connecting connect to Active Directory. Note 3: DirectoryServices.DirectoryEntry is one of the key commands to connect to Active Directory. I think of this as a pipeline to the root of my domain’s namespace. See more on PowerShell and Active Directory Guy Recommends: SolarWinds’ Free Bulk Import Tool | |

