Csvde Command In Windows Server 2008

In this article I am going to explain about Csvde command in Windows Server 2008 operating system and also explain it's related syntax.
  • 3247


Csvde command is a command-line tool that is built in Windows Server 2008. Csvde is like a engine that drives data into or out of active directory. Csvde command  imports and exports data from Active Directory Domain Services (AD DS) using files that store data in the comma-separated value (CSV) format. Basic syntax for using Cmd command given below.

Csvde command syntax

Csvde [-i] [-f <FileName>] [-s <ServerName>] [-c <String1> <String2>] [-v] [-j <Path>] [-t <PortNumber>] [-d <BaseDN>] 
[-r <LDAPFilter>] [-p <Scope] [-l <LDAPAttributeList>] [-o <LDAPAttributeList>] [-g] [-m] [-n] [-k] [-a <UserDistinguishedName> 
{<Password> | *}] [-b <UserName> <Domain> {<Password> | *}]

In above syntax

Parameters of Csvde command Description
-i Whenever you transfer data in the other direction, from the file into Active Directory, you must actively switch CSVDE into import mode. Thats why you use i parameter.
-f <File Name> Identifies the export or import file name.
-s <Server Name> For import or export operation, it specifies the domain controller.
-c <String1> <String2> Replaces all occurrences of String1 with String2.
-v Turns on verbose mode.
-j <Path> Log file location. Default is current path.
-t <Port Number> Defines the LDAP port. Default is 389.
-u Use Unicode format.
-d <BaseDN> Sets the distinguished name of the search base for data export.
-r <LDAPFilter> Generates LDAP search filter.
-p <Scope> Search Scope (Base/ OneLevel/ SubTree).
-l <LDAPAttributeList> Sets the list of attributes to look for in an LDAP search .
-o <LDAPAttributeList> Specifies the lists of attributes to omit from the results of an export query.
-g Disable page searched.
-m Omits attributes that apply only to Active Directory objects.
-n Do not export binary values.
-k Ignores errors during an import operation and continues processing.
-a [<UserDistinguishedName> {<Password> | *}] Performs simple authentication. Sets the command to run using the supplied UserDistinguishedName and Password. In default case, command will use the credentials of the currently logged on user. 
-b [<UserName> <Domain> {<Password> | *}] Applies SSPI bind method.

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here


More Articles

© 2019 DotNetHeaven. All rights reserved.