After upgrading the OS running Exchange 2010 Server to 2012 R2 or 2016 Server, you might encounter issues with starting the Exchange Management Shell or executing Powershell Scripts which use Exchange Snapins.

Errors appearing (parts in German):

‘Microsoft.Exchange.Management.PowerShell.E2010’ is not installed on this machine

Es wurden keine Snap-Ins für die Windows PowerShell-Version 5 registriert.

+ Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010


Der Konfigurationsabschnitt “system.webServer/” kann aufgrund des fehlenden Schemas nicht gelesen werden..


First make sure you have the Windows feature “WinRM IIS Extension” installed. If not: Install it, then Exchange Management Shell should start again without errors.

For the Powershell scripts, it seems like Windows remove some registry keys regarding the Snapins. You can check e.g. with Powershell command “Get-PSSnapin”.

Create a .reg text file with the following entries:

Make sure the paths are correct for your installation.

A reboot or service restart should not be necessary.



  [email protected]