Article ID: 2638006 - View products that this article applies to.
On SBS 2011, when you try to open Exchange Management Console, it may fail to load with the following error:
The term 'ConsoleInitialize.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program.
Collapse this imageExpand this image
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
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
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.