This script has been create to Migrate user from Exchange environment using Exchange 2013 Server as Hybrid Server. These 2 Script has been create to migrate user to the cloud using Migration Batch. These script will use a Users.csv file as input to create the Migration Batch. This CSV file need only the PrimarySMTPAddress of the user you want to migration to Office 365. every other information will be retreived, like the user UPN.
information need to be updated on this script will be:
- Office 365 Global Admin UserName
- Notification email Address to receive an email when the migration batch is completed
- Hybrid Server name (FQDN)
- License SKU (using Get-MsolAccountSku)
- Your target Domain (your .onmicrosoft.com
when you successfully run this script, you can the following script to complete the migration batch. if not complete the mailflow will be switch to office 365 and Migration batch will keep update the mailbox between both Organization (Office 365 & On-premise)