Monday, July 11, 2011

Tips: How to use cmdlets to manage Exchange Control Panel from a Command Line

Using the Internet Information Services (IIS) Manager or the Exchange Management Shell, we can easily manage the Exchange Control Panel (ECP) application. Check the related commands given below for the Exchange Management Shell:

remove-eCpVirtualdirectory: It removes a specified Exchange Control Panel application running on the Client Access server providing services for Exchange.
Remove-ECPVirtualDirectory -Identity AppName
get-eCpVirtualdirectory: Is able to display the information about the Exchange Control Panel application running on the Web server providing services for Exchange.
Get-ECPVirtualDirectory [-Identity AppName]



new-eCpVirtualdirectory: Can create a new Exchange Control Panel application running on the Web server providing services for Exchange. We can use this command only for troubleshooting scenarios where you need to remove and re-create the Exchange Control Panel Virtual Direcctory.
New-ECPVirtualDirectory [-AppPoolId AppPoolName]
set-eCpVirtualdirectory: This Modifies the configuration settings for a specified Exchange Control Panel application running on the Client Access server providing services for Exchange.
Set-ECPVirtualDirectory -Identity AppName
[-BasicAuthentication ] [-DomainController DomainControllerName]
[-ExternalAuthenticationMethods Methods]
[-FormsAuthentication ]
[-ExternalUrl URL] [-GzipLevel ]
[-InternalUrl URL] [-LiveIdAuthentication ]
[-WindowsAuthentication ]

B y , ,