Thomas' Tech Talk

Just Can't Get Enough Of IT

Create Migration Batches With Common Parameters

Filed under: Exchange Server,PowerShell — Thomas Stensitzki at 2:57 pm on Tuesday, July 14, 2020  Tagged ,

This is a community PowerShell script to simplify Exchange Server mailbox migrations and is available on Github.

Features

  • Validate CSV file for required column EmailAddress prior to creating migration batch in Exchange
  • Automatic batch naming based on CSV file name
  • Common notification email address settings
  • Variable AutoComplete of batches
  • Common logging of script activities

 

Examples

Migrate users configured in in CSV file MyBatchFile.csv and complete migration automatically

.\Move-MailboxesAsBatch.ps1 -CSVFile .\MyBatchFile.csv -AutoComplete

Migrate users configured in in CSV file MyBatchFile.csv, allow 10 bad items, notify it@mcsmemail.de and do not complete migration automatically

.\Move-MailboxesAsBatch.ps1 -CSVFile .\MyBatchFile.csv -BadItemLimit 10 -NotificationEmails @("it@mcsmemail.de")

Links

 


This post was previously published on my legacy SF-Tools blog.
Original publishing date: 2015-07-17



No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>