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.

XADM: How to Export the Connections Container to a Text File


View products that this article applies to.

Summary

This article describes how to export the Connections container to a text file. Exporting the Connections container to a text file allows you to view its contents in a different format than that provided by the Raw Properties command in the Microsoft Exchange Administrator program.

↑ Back to the top


More information

To export the Connections container to a text file, follow these steps:
  1. Create a new text file called Connect.txt in the root folder of drive C that contains the following lines:
          [Export]
          DirectoryService=<server1>
          HomeServer=<server2>
          Basepoint=/o=ORG/ou=SITE/cn=configuration/cn=connections
          ExportObject=All
          InformationLevel=Full
          RawMode=Yes
          HiddenObjects=Yes
          Subcontainers=Yes
    
          [Import]
          DirectoryService=<server1>
          Basepoint=/o=ORG/ou=SITE/cn=configuration
          Container=
          InformationLevel=Full
          OverwriteProperties=Yes
          RawMode=Yes
    						

    where <server1> is the name of the computer on which the directory service is running and <server2> is the name of the Microsoft Exchange Server computer.
  2. Use the Header.exe program from the Microsoft Exchange Server Resource Kit to create a comma-delimited text file called Connect.csv in the root folder of drive C. The file should contain all the attributes from the Mailbox Gateway object class.
  3. Type the following command at a command prompt, and then press ENTER:
    c:\exchsrvr\bin\admin.exe /e c:\connect.csv /o c:\connect.txt
NOTE: After you export the Connections container to the Connect.csv file, you can use the following command to import the contents of the Connect.csv file to the Connections container:
c:\exchsrvr\bin\admin.exe /i c:\connect.csv /o c:\connect.txt
Because the directory contains most of the necessary configuration information for the connectors, you should not back up the Connections container by exporting it to a text file. Importing the text file at a later time is essentially the same as restoring the directory.

↑ Back to the top


Properties

↑ Back to the top


Article Info
Article ID : 160971
Revision : 6
Created on : 1/1/0001
Published on : 1/1/0001
Exists online : False
Views : 430