Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

Introduction

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

↑ Back to the top


More information

To perform a command-line export of an address book view in Exchange Server 5.5, follow these steps:
  1. 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.
  2. Use Microsoft Excel to open the .csv file.
  3. 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.
  4. Save the file as Header.csv.
  5. Use Notepad to create an Options.ini file that contains the following information in the [export] section:
    [export]
    Basepoint=/o=orgname
    Container=/ou=_ABViews_/cn=ABV Directory name
    ExportObject=All
    Note In this example, orgname is the organization name as it appears in the containers view in the Microsoft Exchange Administrator program.
  6. Type the following command at a command prompt:
    Admin /e header.csv /s servername /o options.ini
    Note In this example, servername is the name of the Exchange Server 5.5 server to which the address book view is exported.

↑ Back to the top


References

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
155414 Bulk import/export FAQ
152300 ExportObject in command-line export options file only
160971 How to export the Connections container to a text file

↑ Back to the top


Properties

Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

↑ Back to the top


Keywords: KB320326, kbinfo, kbhowto, kbexchdirectory

↑ Back to the top

Article Info
Article ID : 320326
Revision : 2
Created on : 10/28/2006
Published on : 10/28/2006
Exists online : False
Views : 290