• Home
  • About
  • Blog
  • Training
  • Books
  • Contact
    • Email
    • Facebook
    • Twitter
    • RSS

Practical 365

  • Office 365
  • Exchange 2019
  • Exchange 2016
  • Exchange 2013
  • Hybrid
  • Certificates
  • PowerShell
  • Migration
You are here: Home / Exchange Server / Customized Exchange2007MBtoMEU.ps1 Script for Office 365 Migrations

Customized Exchange2007MBtoMEU.ps1 Script for Office 365 Migrations

October 23, 2014 by Paul Cunningham 3 Comments

One of the tools that Microsoft has provided to the community for Office 365 migrations is the Exchange2007MBtoMEU.ps1 PowerShell script.

If you’ve completed a staged Exchange migration to migrate your organization’s Exchange 2007 on-premises mailboxes to Office 365 and you want to manage cloud-based users from your on-premises organization—using Active Directory—you should convert the on-premises mailboxes to mail-enabled users (MEUs).

While using the script on a project I considered that it would be helpful if the script logged the changes that it made when it was converting the mailbox users to mail-enabled users.

With Microsoft's permission I am publishing my modified version of the script. It functions the same way as the original, so you should follow Microsoft's guidance here.

The only significant difference is the log file that is produced by my version of the script. It is simply written to the same folder where the script is running from, and basically contains the same information that the script outputs to the console while it is running.

Exchange2007MBtoMEU

Download Ex2007MBtoMEU.ps1-Customized from Github.

Paul Cunningham

Paul is a Microsoft MVP for Office Apps and Services and a Pluralsight author. He works as a consultant, writer, and trainer specializing in Office 365 and Exchange Server.

0 Shares

Exchange Server Exchange 2007, Office 365, PowerShell, Scripts

Comments

  1. Svetoslav says

    November 22, 2014 at 2:38 am

    The interesting thing is that MS stated the script copies the LegacyExchangeDN from the mailbox to MEU and actually there is no such code inside

    Reply
  2. Niels says

    January 23, 2016 at 3:54 am

    I am getting an error when using ExportO365UserInfo.ps1.
    I am unsure if the error is caused by a problem on the server, or if Microsoft has changed something in O365.

    I do get the cloud.csv, but i worry about what it is that is failing and maybe missing from the script.
    I tested both scripts with one user, and the user is perfectly converted to a MEU.

    Should i worry about the error, or just close my eyes and convert the whole company?

    The error i get is:
    The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input.
    + CategoryInfo : InvalidArgument: (:PSObject) [Get-Mailbox], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Get-Mailbox

    Thanks in advance.
    Best regards
    Niels

    Reply
    • Davide Mancini says

      June 1, 2017 at 1:12 am

      Hi Niel,
      I have the same problem in our company and i haven’t tested 2° script yet (exchange2007 one). Have you solved the issue?

      Thanks in advance

      Reply

Leave a Reply Cancel reply

You have to agree to the comment policy.

Recent Articles

  • How attackers bypass third-party mail filtering to Office 365
  • SharePoint 365 and Azure integration – Using Azure Monitor to retrieve and analyze telemetry
  • Create custom reports using the updated Teams PowerShell module
  • Privileged Access Management – Part Two
  • Should you upgrade to Exchange Server 2019?
Practical 365

Popular Articles

Managing Change in Office 365Managing Change in Office 365

Training Courses

  • Configuring and Managing Office 365 Security
  • Office 365 Admin Playbook
  • Exchange 2016 Exam 70-345
  • Managing Exchange Mailboxes and Distribution Groups in PowerShell
  • More Training Courses...

Recommended Resources

  • Office 365 Security Resources
  • Office 365 Books
  • Exchange Server Books
  • Exchange Server Migrations
  • Exchange Analyzer
  • Digicert SSL Certificates

About This Site

Practical 365 is a leading site for Office 365 and Exchange Server news, tips and tutorials. Read more...
  • Email
  • Facebook
  • Twitter
  • RSS

Copyright © 2018 Quadrotech Solutions AG · Disclosure · Privacy Policy
Alpenstrasse 15, 6304 Zug, Switzerland

We are an Authorized DigiCert™ SSL Partner.