On SBS 2011, when you try to open Exchange Management Console, it may fail to load with the following error:
Initialization failed The term 'ConsoleInitialize.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program.
The following error is recorded in Application Log, during the time of the issue:
Log Name: Application Source: MSExchange RBAC Date: 10/28/2011 5:00:14 AM Event ID: 32 Task Category: RBAC Level: Error Keywords: Classic User: N/A Computer: MT-SBS2011.fourthcoffee.local Description:(Process w3wp.exe, PID 11556) "Could not load missing script C:\Program Files\Microsoft\Exchange Server\V14\RemoteScripts\ConsoleInitialize.ps1. Exception: Access to the path 'C:\Program Files\Microsoft\Exchange Server\V14\RemoteScripts\ConsoleInitialize.ps1' is denied.."
This issue can occur if the MSExchangePowerShellAppPool is not configured to run under the LocalSystem Identity.
To resolve this issue, follow these steps:
1.) Open IIS Manager
2.) Go to Application Pools
3.) Open Advanced Settings for the MSExchangePowerShellAppPool
4.) Change the Identity to LocalSystem
5.) Stop and Start the Application Pool
6.) Do IISRESET /noforce
SBS 2011; Exchange 2010; EMC; RBAC