Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Get-OfficeEmailMigrationPlan

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

Plans an offline PST migration to a Thunderbird mailbox bundle without writing files.

Syntax

Get-OfficeEmailMigrationPlan
[-CheckpointInterval <Int32>]
[-LossPolicy <Block|Warn|Allow>]
[-MaxItems <Int32>]
[-OutputDirectory] <String>
[-Path] <String>
[-Resume]
[<CommonParameters>]
#
Parameter set: Path
Get-OfficeEmailMigrationPlan
[-CheckpointInterval <Int32>]
-LiteralPath <String>
[-LossPolicy <Block|Warn|Allow>]
[-MaxItems <Int32>]
[-OutputDirectory] <String>
[-Resume]
[<CommonParameters>]
#
Parameter set: LiteralPath

Description

CanMigrate reports the outcome of source folder and destination checks. Convert-OfficeEmailStore counts items and enforces MaxItems during migration.

Examples

Inspect the source folder count, destination and checkpoint paths.

Get-OfficeEmailMigrationPlan -LiteralPath './Archive[2026].pst' -OutputDirectory ./Migrated

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.
-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.