Monday, January 3, 2011

Tips: How to manage Exchange Control Panel from a Command-Line using the Cmdlets

As you know, managing the Exchange Control Panel application using the Internet Information Services (IIS) Manager or the Exchange Management Shell is so easy now. Now, let’s discuss about the related commands for the Exchange Management Shell.
The first command is: get-eCpVirtualdirectory
This is used 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
This command is able to create a new Exchange Control Panel application running on the Web server services for Exchange. We can use this command only for troubleshooting purposes in which we need removing and re-creating the Exchange Control Panel virtual directory.
New-ECPVirtualDirectory [-AppPoolId AppPoolName]



remove-eCpVirtualdirectory
We use this command to remove a specified Exchange Control Panel application running on the Client Access server providing services for Exchange.
Remove-ECPVirtualDirectory -Identity AppName

set-eCpVirtualdirectory
This command is used to modify 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 ]

By , ,