Management

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 786 other subscribers

Social

  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

(Solved) PowerShell add-in powershell.admin is not installed

Last week I had to migrate a customer to Office 365.

Normally I use the standard migration scripts, as used in my earlier post :

http://www.vspbreda.nl/nl/ms-office/office-365/o365-on-premise-to-cloud-migration-and-mail-enabled-user-solved/

But this time nothing happened while executing the script Exchange2007MBtoMEU.ps1

Fortunately I used the customized script from Paul Cunninham:

https://practical365.com/exchange-server/customized-exchange2007mbtomeu-ps1-script-office-365-migrations/

This script is the same as the Microsoft script, but adds a log file!

The Error on screen is:

WARNING: The Windows PowerShell snap-in ‘microsoft.exchange.management.powershell.admin’ is not installed on this machine.

Here you can find the solution :

Error when using Exchange2007MBtoMEU.ps1:

WARNING: The Windows PowerShell snap-in ‘microsoft.exchange.management.powershell.admin’ is not installed on this machine.

First check the available snapins:

I’ve found the snapin : microsoft.exchange.management.powershell.E2010

Edit the script Exchange2007MBtoMEU.ps1

Change the command:

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin -ErrorAction STOP

To

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 -ErrorAction STOP

After changing this the command will be successful !

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.