Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Convert-OfficeEmailStore

Module
PSWriteOffice
Inputs
None
Outputs
OfficeIMO.Email.Store.EmailStoreMailboxMigrationReport

Migrates a PST to a new, verified Thunderbird mailbox bundle with a durable checkpoint.

Syntax

Convert-OfficeEmailStore
[-CheckpointInterval <Int32>]
[-LossPolicy <Block|Warn|Allow>]
[-MaxItems <Int32>]
[-OutputDirectory] <String>
[-Path] <String>
[-Resume]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: Path
Convert-OfficeEmailStore
[-CheckpointInterval <Int32>]
-LiteralPath <String>
[-LossPolicy <Block|Warn|Allow>]
[-MaxItems <Int32>]
[-OutputDirectory] <String>
[-Resume]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
#
Parameter set: LiteralPath

Examples

Migrate a local Outlook archive and return the report.

$report = Convert-OfficeEmailStore -Path ./Archive.pst -OutputDirectory ./Migrated

Start a migration with explicit settings and reuse them to resume from a checkpoint.

$migration = @{ Path = './Archive.pst'; OutputDirectory = './Migrated'; LossPolicy = 'Warn'; MaxItems = 5000 }
Convert-OfficeEmailStore @migration
# After interruption, if the checkpoint exists:
Convert-OfficeEmailStore @migration -Resume

Parameters

-CheckpointInterval Int32 optional
Number of inspected items between checkpoints.
-LossPolicy EmailConversionLossPolicy optional
Blocks known loss by default. Warn and Allow publish permitted omissions with diagnostics.
Possible values: Block, Warn, Allow
-MaxItems Int32 optional
Maximum number of source items to inspect during migration. The default is 1,000,000. The plan's CanMigrate result covers folder and destination checks. Conversion enforces this limit. If additional items remain, migration reports loss. Block prevents publication. Warn and Allow can publish a verified bundle of messages written within the limit.
-OutputDirectory String requiredposition: 1
New migration bundle directory.
-Path String requiredposition: 0sets: Path
Source PST file. Wildcards must resolve to one file.
-Resume SwitchParameter optional
During planning, checks for a checkpoint or an existing destination directory. Conversion verifies the retained data and checks that the source, destination, loss policy and item limit match the original migration.
-WhatIf SwitchParameter optional
Shows what would happen if the command runs.
-Confirm SwitchParameter optional
Prompts for confirmation before running the command.
-LiteralPath String requiredaliases: FullName, PSPathsets: LiteralPath
Exact source PST file path.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.