#Exchange 2010 Management Shell missing after an upgrade to SP1–Part 2

#Exchange2010 #Powershell

Okay so I posted this: http://flaphead.dns2go.com/archive/2010/12/01/exchange-2010-management-shell-missing-after-an-upgrade-to-sp1.aspx but it doesn’t totally work, as Microsoft.Exchange.PowerShell.Configuration.dll isn’t registered!?!

So you need to update the registry with the proper powershell snapin setting and then it will work.  I used this reg file.  NB for me Exchange is installed on the D drive.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftPowerShell1PowerShellSnapIns]
@=””
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftPowerShell1PowerShellSnapInsMicrosoft.Exchange.Management.PowerShell.E2010]
“CustomPSSnapInType”=”Microsoft.Exchange.Management.PowerShell.AdminPSSnapIn”
“ApplicationBase”=”D:\Program Files\Microsoft\Exchange Server\v14\bin”
“AssemblyName”=”Microsoft.Exchange.PowerShell.Configuration, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”
“Description”=”Admin Tasks for the Exchange Server”
“ModuleName”=”D:\Program Files\Microsoft\Exchange Server\v14\bin\Microsoft.Exchange.PowerShell.Configuration.dll”
“PowerShellVersion”=”1.0”
“Vendor”=”Microsoft Corporation”
“Version”=”14.0.0.0”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftPowerShell1PowerShellSnapInsMicrosoft.Exchange.Management.PowerShell.Setup]
“CustomPSSnapInType”=”Microsoft.Exchange.Management.PowerShell.SetupPSSnapIn”
“ApplicationBase”=”D:\Program Files\Microsoft\Exchange Server\v14\bin”
“AssemblyName”=”Microsoft.Exchange.PowerShell.Configuration, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”
“Description”=”Setup Tasks for the Exchange Server”
“ModuleName”=”D:\Program Files\Microsoft\Exchange Server\v14\bin\Microsoft.Exchange.PowerShell.configuration.dll”
“PowerShellVersion”=”1.0”
“Vendor”=”Microsoft”
“Version”=”14.0.0.0”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftPowerShell1PowerShellSnapInsMicrosoft.Exchange.Management.Powershell.Support]
“CustomPSSnapInType”=”Microsoft.Exchange.Management.Powershell.Support.SupportPSSnapIn”
“ApplicationBase”=”D:\Program Files\Microsoft\Exchange Server\v14\bin”
“AssemblyName”=”Microsoft.Exchange.Management.Powershell.Support, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”
“Description”=”Support Tasks for the Exchange Server”
“ModuleName”=”D:\Program Files\Microsoft\Exchange Server\v14\bin\Microsoft.Exchange.Management.Powershell.Support.dll”
“PowerShellVersion”=”1.0”
“Vendor”=”Microsoft Corporation”
“Version”=”14.0.0.0”