Ldifde Command In Windows Server 2008

This article explains Ldifde command in Windows Server 2008 operating system and syntax related with it.
  • 2245

Introduction

Ldifde command is used to creates, modifies and deletes directory objects. It is also used to extend the schema, export active directory user and group information to other applications or services and populates active directory domain services with data from other directory services. Syntax used for Ldifde command is given below.

Syntax

Ldifde [-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>] [-?]

Parameters For Ldifde

Parameter Description
-i Defines to use the import mode.
-f <FileName> Identifies the import or export file name.
-s <ServerName> Defines the domain controller to perform the import or export operation.
-c <String1> <String2> Replaces all occurrences of <String1> with <String2>.
-v Sets verbose mode.
-j <Path> Sets the log file location.
-t <PortNumber> Defines a Lightweight Directory Access Protocol (LDAP) port number.
-d <BaseDN> Sets the distinguished name of the search base for data export.
-r <LDAPFilter> Creates an LDAP search filter for data export.
-p <Scope> Sets the search scope.
-l <LDAPAttributeList> Sets the list of attributes to return in the results of an export query.
-o <LDAPAttributeList> Sets the list of attributes to omit from the results of an export query.
-g Omits paged searches.
-m Omits attributes that apply only to Active Directory objects.
-n Omits the export of binary values.
-k Ignores errors during an import operation and continues processing.
-a <UserDistinguishedName> <Password> Sets the command to run using the distinguished name and password that user supply.
-b <UserName> <Domain> <Password> Sets the command to run using the supplied <UserName> <Domain> <Password>.
/? Shows help at the command prompt.

Ask Your Question

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

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.