Mailbox Migration Utility

Seamlessly migrate mailboxes between servers or tenants with minimal downtime.
This tool automates batch migrations, preserves permissions, and logs progress — built for smooth transitions in hybrid and cloud environments.

Description:
Migrate batches of mailboxes to Exchange Online with minimal effort. Ideal for hybrid setups or post-merger transitions.

# Connect to Exchange Online and Exchange On-Prem
Connect-ExchangeOnline -UserPrincipalName [email protected]
$Session = New-PSSession -ConfigurationName Microsoft.Exchange `
  -ConnectionUri http://onprem.exchange.local/PowerShell/ `
  -Authentication Kerberos
Import-PSSession $Session -DisableNameChecking

# Create Migration Batch
New-MigrationBatch -Name "Marketing_Migration" `
  -CSVData ([System.IO.File]::ReadAllBytes("C:\Scripts\marketing.csv")) `
  -TargetDeliveryDomain "domain.mail.onmicrosoft.com" `
  -AutoStart -AutoComplete
EmailAddress
[email protected]
[email protected]
[email protected]
  • Make sure your on-prem Exchange supports remote PowerShell.
  • Run Complete-MigrationBatch if -AutoComplete is not used.
  • This utility supports staged, cutover, or remote migrations.

Mailbox Migration Utility

Automate mailbox migrations from on-prem to Exchange Online with detailed logging and status checks. A time-saving tool for hybrid environments.

🔗 View on GitHub

© 2012–2025 Jet Mariano. All rights reserved.

For usage terms, please see the Legal Disclaimer.

error: Content is protected !!