Home
> Commands A-M
> Commands Ch-Cz
CSVDE
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
Imports and exports data from Active Directory using
files that store data in the comma-separated value (CSV)
format.
Syntax
CSVDE
-?
CSVDE
[-a user_distinguished_name password]
[-b user_name domain password]
[-c string1 string2]
[-d base_dn]
[-f file_name]
[-g]
[-i]
[-j path]
[-k]
[-l ldap_attribute_list]
[-m]
[-n]
[-o ldap_attribute_list]
[-p scope]
[-r ldap_filter]
[-s server_name]
[-t port_number]
[-v]
Parameters
none.
Switches
- -?
(NT2003)
- Display command help.
- -a user_distinguished_name password
(NT2003)
- Sets to run using the supplied
user_distinguished_name and password. By default, runs
using the credentials of the user currently logged on
to the network.
- -b user_name domain password
(NT2003)
- Sets to run as user_name domain password. By
default, runs using the credentials of the user
currently logged on to the network.
- -c string1 string2
(NT2003)
- Replaces all occurrences of string1 with string2.
Generally used when importing data from one domain to
another and the distinguished_name of the export domain
(string1) needs to be replaced with that of the import
domain (string2).
- -d base_dn
(NT2003)
- Sets the distinguished name of the search base for
data export.
- -f file_name
(NT2003)
- Identifies the import or export file name.
- -g
(NT2003)
- Omits paged searches.
- -i
(NT2003)
- Specifies import mode. If not specified, the
default mode is export.
- -j path
(NT2003)
- Sets the log file location.
The default is the current path.
- -k
(NT2003)
- Ignores errors during the import operation and
continues processing. A complete list
of ignored errors:
- Object already exists
- Constraint violation
- Attribute or value already exists
- -l ldap_attribute_list
(NT2003)
- Sets the list of attributes to return in the
results of an export query.
If omitted, all attributes are returned.
- -m
(NT2003)
- Omit attributes that only apply to Active
Directory objects such as the ObjectGUID, objectSID,
pwdLastSet and samAccountType attributes.
- -n
(NT2003)
- Omits export of binary values.
- -o ldap_attribute_list
(NT2003)
- Sets the list of attributes to omit from the
results of an export query. Typically used when
exporting objects from Active Directory and then
importing them into another LDAP-compliant directory.
If attributes are not supported by another directory,
you can omit the attributes from the result set using
this option.
- -p scope
(NT2003)
- Sets the search scope. Search scope options:
- -r ldap_filter
NT2003
- Creates an LDAP search filter for data export.
- -s server_name
NT2003
- Specifies the domain controller to perform the
import or export operation.
- -t port_number
NT2003
- Specifies an LDAP port number. The default LDAP
port is 389. The global catalog port is 3268.
- -v
NT2003
- Sets verbose mode.
Related
none.
Notes
none.
Examples
none.
Errorlevels
none.
Availability
- External
-
- DOS
-
none
- Windows
-
none
- Windows NT
-
NT2003
Last Updated: 2003/07/28
Direct corrections or suggestions to:
Rick Lively