Cmdlet
Convert-OfficeEmailStore
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:
PathConvert-OfficeEmailStore
[-CheckpointInterval <Int32>]
-LiteralPath <String>
[-LossPolicy <Block| Warn| Allow>]
[-MaxItems <Int32>]
[-OutputDirectory] <String>
[-Resume]
[-WhatIf]
[-Confirm]
[<CommonParameters>]#Parameter set:
LiteralPathExamples
Migrate a local Outlook archive and return the report.
$report = Convert-OfficeEmailStore -Path ./Archive.pst -OutputDirectory ./MigratedStart 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 -ResumeParameters
- -CheckpointInterval Int32
- Number of inspected items between checkpoints.
- -LossPolicy EmailConversionLossPolicy
- Blocks known loss by default. Warn and Allow publish permitted omissions with diagnostics.
- Possible values:
Block,Warn,Allow - -MaxItems Int32
- 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
- New migration bundle directory.
- -Path String
- Source PST file. Wildcards must resolve to one file.
- -Resume SwitchParameter
- 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
- Shows what would happen if the command runs.
- -Confirm SwitchParameter
- Prompts for confirmation before running the command.
- -LiteralPath String
- 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.