Microsoft KB Archive/320326

= How to perform a command-line export of an address book view in Exchange Server 5.5 =

Article ID: 320326

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft Exchange Server 5.5 Standard Edition

-



This article was previously published under Q320326





Introduction
This article describes how to perform a command-line export of an address book view in Microsoft Exchange Server 5.5.



MORE INFORMATION
To perform a command-line export of an address book view in Exchange Server 5.5, follow these steps:  Create a .csv file that contains all the headers that you want to export. To do this, use one of the following methods:  Use the Header.exe program in the Microsoft Exchange Resource Kit to create a file that contains the data field names that you want to export. Manually create a .csv file that contains the data field names that you want to export.

Note To export all the data fields that are associated with an object, you may also use one of the sample .csv files that are located in the following directory on the Microsoft Exchange Server 4.0 CD:

Support\Samples\Csvs

The Csvs directory has subdirectories that contain .csv files for mailboxes, custom recipients, and distribution lists. Copy the relevant .csv file from the CD to the hard disk. Then, remove the read-only attribute of the .csv file.

If you do not have the Exchange Server 4.0 CD, you can obtain the sample .csv files from the Microsoft Download Center: Download the Csv.exe package now. In the Microsoft Exchange Administrator program, run the Directory Export command. Specify a .csv file that you created to populate the .csv file with data.  Use Microsoft Excel to open the .csv file.</li> If the .csv file contains exported recipients, remove the exported recipients. However, do not remove the first row that contains the data field names that you want to export.</li> Save the file as Header.csv.</li> Use Notepad to create an Options.ini file that contains the following information in the [export] section:

[export]

Basepoint=/o=

Container=/ou=

ExportObject=All

Note In this example,  is the organization name as it appears in the containers view in the Microsoft Exchange Administrator program.</li> Type the following command at a command prompt:

Admin /e header.csv /s  /o options.ini

Note In this example,  is the name of the Exchange Server 5.5 server to which the address book view is exported.</li></ol>

<div class="references_section">