Exchange Server 2010 came with multiple revived features including
advanced management tools. In Exchange 2010, all the management is done
by Remote PowerShell and it differs from the previous versions in that
it is largely dependent on IIS. The Remote PowerShell sends the requests
through HTTP protocol and uses the Internet Information Services (IIS)
for the connection mechanism. Windows Remote Management (WinRM) Service
and the Web Services for Management (WSMan) protocol work
collaboratively with IIS to initiate connection.
This article is aimed at dealing with the numerous issues encountered while working with Exchange 2010 Management tools, that are, Exchange Management Console and Exchange Management Shell. It further elaborates on troubleshooting Exchange 2010 Management Tools startup issues.
When you click to start Exchange Management Shell, a session of Remote PowerShell opens. PowerShell connects with the use of IIS to the nearest Exchange Server 2010 through WinRM which runs checks for authentication. It further creates remote session and provides cmdlts that can be gained access to through Role Based Access Control (RBAC).
#Error 1:
When you attempt to start Exchange Management Console or Exchange Management Shell, the connection to the remote server failed, displaying the above mentioned error message.
This issue might occur if one of the following conditions is true.
Set-User <username> -RemotePowerShellEnabled $True
#Error 2:
This type of error message is prompt usually while running multiple websites or setting up a redirect requiring SSL on the Default Website. It may also occur if another website is created to redirect back to the website that is SSL enabled. The cause of the error is that the HTTP binding on Default Web Site in IIS is either invalid or is invalid.
However, this error can be resolved by following the given steps:
This error is caused if one of the following conditions is true:
This error occurs if the following conditions are true:
Set-User <username> -RemotePowerShellEnabled $True
This article is aimed at dealing with the numerous issues encountered while working with Exchange 2010 Management tools, that are, Exchange Management Console and Exchange Management Shell. It further elaborates on troubleshooting Exchange 2010 Management Tools startup issues.
When you click to start Exchange Management Shell, a session of Remote PowerShell opens. PowerShell connects with the use of IIS to the nearest Exchange Server 2010 through WinRM which runs checks for authentication. It further creates remote session and provides cmdlts that can be gained access to through Role Based Access Control (RBAC).
Common Errors Exhibited By Exchange Management Tools:
It sometimes occurs that while trying to open Exchange Management Tools, an error is exhibited. Let us get acquainted with some of the most common factors leading to these errors and the methods in which they can be troubleshooted.#Error 1:
When you attempt to start Exchange Management Console or Exchange Management Shell, the connection to the remote server failed, displaying the above mentioned error message.
This issue might occur if one of the following conditions is true.
- The Kerbauth module is improperly configured with IIS.
- The user does not have the status Remote PowerShell Enabled.
- The WSMan module is missing from modules section of ApplicationHost.config file.
Set-User <username> -RemotePowerShellEnabled $True
#Error 2:
This type of error message is prompt usually while running multiple websites or setting up a redirect requiring SSL on the Default Website. It may also occur if another website is created to redirect back to the website that is SSL enabled. The cause of the error is that the HTTP binding on Default Web Site in IIS is either invalid or is invalid.
However, this error can be resolved by following the given steps:
- Open IIS Manager & go to Default Web Site.
- Right click on Default Web Site.
- Select Edit Bindings option.
- If binding for HTTP exists, clear host name value.
- If binding for HTTP does not exist, create new binding without host name and All Unassigned value for IP address.
- Now, restart IIS.
This error is caused if one of the following conditions is true:
- ExchangeInstallPath variable is missing.
- Path of PowerShell virtual directory is modified.
- Ensure that the ExchangeInstallPath variable is set correct.
- Open System, in Control Panel, click on Advanced System Settings, then on Advanced tab click Environment Variables, in System Variables box, locate ExchangeInstallPath variable. The value should be: C:\ Program Files\ Microsoft\ Exchange Server\ V14\
This error occurs if the following conditions are true:
- MSExchangePowrShellAppPool application is not running or experiencing issues.
- User does not have the status: RemotePowerShell Enabled
- WinRM is not configured correctly on the server.
- Ensure that MSExchangePowrShellAppPool is running and try recycling it. Then check in case of any errors in the event logs.
- Also, make sure that the user has RemotePowerShell Enabled status. To do that first start the Exchange Management Shell with the use of an enabled account and run the following: (Get-User <username>).RemotePowerShellEnabled.
Set-User <username> -RemotePowerShellEnabled $True
- Ensure that WinRM is configured on the server correctly by using following steps:
- Click Start, search and run WinRM Quick Config.
- When both tests are passed, search cmd. In the command window, run the command: WinRM enumerate winrm/config/listener
- Now, ensure that listener exists for HTTP protocol on 5985 port and is listening on all the addresses.
No comments:
Post a Comment