Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

August 01, 2000 04:06 PM

Know Your Options

Windows IT Pro
InstantDoc ID #9670
Rating: (0)

Because you don't have access to the options dialog box that you see when you access Directory Import or Directory Export through Microsoft Exchange Administrator's Tools menu, the only way to control the behavior of a command-line export or import is to use options files. (You can use any text editor to build an options file and save it as a .txt file.) First, look at this example export options file:

[export]
directoryservice=sfo3
exportobject=mailbox
informationlevel=none

The file's format resembles the familiar .ini file format. The file begins with the keyword export, which tells Exchange Administrator that the file is an export options file. (Import options files begin with the keyword import.) An easy way to ensure the consistency of your exported and imported data is to build one options file that contains both an export and an import section and use that file every time you do a command-line import or export. (You can place either section first in the file.)

Next, you need to specify one or more name-value assignment pairs. Each pair specifies the name of an Exchange Administrator setting and assigns a value to that setting. The example contains three settings. The setting directoryservice=sfo3 tells Exchange Administrator to export data from the server named sfo3. The setting exportobject=mailbox specifies that you want to include only mailboxes in the export file. The setting informationlevel=none tells Exchange Administrator not to log any information about the export.

The keywords that you can use in the name-value assignment pairs duplicate the buttons and switches in Exchange Administrator's Tools, Directory Export and Directory Import dialog boxes. (For more information about these dialog boxes, see "Super Export and Import Tools," August 2000.) Table A shows the most commonly used keywords, noting whether the keyword works for export options files, import options files, or both.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.