# Test-OfficeEmailMigration

Reopens a published mailbox bundle and verifies its contents against the migration manifest.

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`None`

**Outputs**

`OfficeIMO.Email.Store.EmailStoreMailboxMigrationVerification` `System.Boolean`

**Source**

[TestOfficeEmailMigrationCommand.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Email/TestOfficeEmailMigrationCommand.cs#L14) 

Reopens a published mailbox bundle and verifies its contents against the migration manifest.

## Syntax

```
Test-OfficeEmailMigration
[-Path] <String>
[-Quiet]
[<CommonParameters>]
```

[#](#method-test-officeemailmigration-string-switchparameter)

Parameter set: `Path`

```
Test-OfficeEmailMigration
-LiteralPath <String>
[-Quiet]
[<CommonParameters>]
```

[#](#method-test-officeemailmigration-string-switchparameter-2)

Parameter set: `LiteralPath`

## Guides & Samples

Authored walkthroughs and practical samples linked to this command.

- [Open Formats and Text Automation](/docs/pswriteoffice/open-text-formats/) Guide
  
  Use the smaller PSWriteOffice families for text, interchange, open formats, and managed message workflows. Includes examples and cmdlet links.
- [Extract and Inspect Documents](/docs/cli/extract-and-inspect/) Guide
  
  Extract Markdown or JSON from documents, inspect files and workbook schemas, query structured data, and validate or patch YAML and TOML.

## Examples

### Check the published bundle and return its reconciliation counts.

```powershell
Test-OfficeEmailMigration -LiteralPath ./Migrated
```

## Parameters

**-Path String requiredposition: 0sets: Path**

Published bundle directory. Wildcards may select more than one bundle.

**-Quiet SwitchParameter optional**

Returns one Boolean per resolved bundle. Check each result when a wildcard selects several bundles.

**-LiteralPath String requiredaliases: FullName, PSPathsets: LiteralPath**

Exact published bundle directory.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

<!-- PowerForge markdown artifact sha256:D41BA3C47A37E2A283C95F518B628D06E265ECBDEC2406E4162D6B74B004FB40 -->
