Example initialization file for PST scripted migration
The initialization file must be saved as a Unicode file.
Table: Sample initialization file shows a sample initialization file that sets up migrations for five PST files.
Table: Sample initialization file
Initialization file section | Notes |
---|
[Directory]
directorycomputername = server2
sitename = server2 |
|
[PSTDefaults]
ServerComputerName = server2
PSTLanguage = Western European
MailboxFolder = EVPM PST Migrations
MigrationMode = Report
ShortcutMode = NoShortcuts
IncludeDeletedItems = false
SetPstHidden = false
SetPstReadOnly = false
CompactPst = true
DeletePst = false
CancelMbxAutoArchive = false | These default options apply to all PST migrations listed in the following [PST] sections unless overridden in those sections. PST Language is mandatory. There must only one [PSTDefaults] section and it must appear before the individual [PST] sections. MigrationMode=Report specifies that this initialization file is to run in report mode. ShortcutMode=NoShortcuts means that, by default, there will be no shortcuts to the migrated items. Items that cannot be migrated will be left in the PST files, not moved to the mailboxes. You can override this behavior for individual PST files.
|
[PST]
Filename = E:\Migration\Missing.pst | The [PST] sections must appear after the [PSTDefaults] section As a minimum each section must specify the PST filename. If an option is unspecified then Policy Manager uses the value in the [PstDefaults] section. This marked file is missing and will produce an error when Policy Manager runs.
|
[PST]
Filename = \\server3\temp\marked1.pst | This file is on a remote computer. This PST file has been marked by the Enterprise Vault client so that Policy Manager can automatically determine the target archive, the Exchange Server mailbox, and the retention category.
|
[PST]
Filename = E:\Migration\marked2.pst
MailboxDN = /o=ACME/ou=DEVELOPER/cn=Recipients/cn=JackH
ShortcutMode = MailboxShortcuts | This PST file has been marked by the Enterprise Vault client so that Policy Manager can automatically determine the target archive, the Exchange Server mailbox, and the retention category. The MailboxDN setting is overriding the PST marking. This will result in a warning when the initialization file is processed. The file will be processed correctly, using the specified enabled mailbox and that mailbox's default retention category and archive. Policy Manager will create shortcuts to archived items and place them, together with any items that remain in the PST at the end of the migration, into the mailbox.
|
[PST]
Filename = E:\Migration\marked3.pst
ArchiveName = Jack Henry2 | This PST file has been marked by the Enterprise Vault client. The ArchiveName setting is overriding the owner entry that the client made. This will result in a warning when the initialization file is processed. The PST file will be processed correctly, using the specified archive and the default retention category from the owning mailbox.
|
[PST]
ArchiveName = SharedArchive1 Filename = E:\Migration\unmarked.pst
RetentionCategory = Business | This file has not been marked by an Enterprise Vault client. You must specify the ArchiveName, PST filename, and RetentionCategory.
|