Maintenance and Troubleshooting << >>

Using Directory Export

You can export directory information for mailboxes, distribution lists, or custom recipients. By default, the Directory Export command creates an export file with the following header.

Obj-Class,First Name,Last name,Display Name,Alias Name,
Directory Name,Primary Windows NT Account,Home-Server,
E-mail address,E-mail Addresses,Members,Obj-Container,Hide from AB

If an existing export file is specified, the Directory Export command uses the header from the specified file when exporting recipients. To control which properties are exported, you should create a .csv file containing only the header information that you want to use, and then export recipients to that file.

Using the Directory Export Command

  1. From the Tools menu in the Administrator window, choose Directory Export.
  2. Select the appropriate options.
  3. Choose Export.

Option Description
Microsoft Exchange server The server the information is read from.
Home server The home server of the mailboxes to export.
Export File The path and file name where you want to store the exported directory information.
Container The container where the recipient objects will be exported.
Include subcontainers Includes the recipient objects in the subcontainers of the specified recipient container.
Export objects The recipient objects to be exported (mailbox, custom recipient, or distribution list).
Logging level Specifies the event logging level when performing the export.
Separators Specifies the separators used in the exported file. Separators distinguish column, quote, and property types of information in the file.
ANSI Specifies the character set that is used when creating the export file. If this option is selected, the file uses the active ANSI code page.
Unicode Specifies the character set that is used when creating the export file. If this option is selected, the export file uses Unicode.
Include hidden
Includes hidden recipient objects.

Using Command-line Directory Export Options

Directory exports can also be done from the command line. Use the following syntax in the Admin.exe program:

admin /e <export file> /d <directory server name> /n /o <options file>

The /e switch is required. All other switches are optional. For more information about command-line options, see Administrator program Help.

Option Description
<export file> The name of the file where the exported directory information is to be written.
<directory server name> The name of the server from which the directory information will be exported.
/n Specifies that the progress bar is not displayed during directory export.
/o The name of an import options file.
<options file> The name of a file containing options that control how directory information is exported.

The export options file is used to specify the same types of options as the Administrator program's Directory Export dialog box. The export options file is a text file and must be in the following format.

DirectoryService=<DS server name>    
HomeServer=<server name>    
Basepoint=<DN of basepoint object>    
;(default=NULL, which indicates the local site)
Container=<RDN of container object>    
ExportObject=[Mailbox, Remote (custom recipients), DL, 	Recipients (all recipients), All (all object types)]    
InformationLevel=[None, Minimal, Full]    
BasepointOnly=[Yes, No]    
RawMode=[Yes, No]    
Hidden=[Yes, No]    
Subcontainers=[Yes, No]
;(default = 0)
Column Separator=<ASCII value of column separator character>
MVSeparator=<ASCII value of multivalue separator character>
Quote Character=<ASCII value of quoted value delimiter>