пятница, 23 мая 2014 г.

Пересоздание виртуальных каталогов ECP и OWA на IIS

Cкрипт PowerShell:

Remove-OwaVirtualDirectory "owa (Default Web Site)"
Remove-OwaVirtualDirectory "owa (Exchange Back End)"
New-OwaVirtualDirectory  -InternalUrl "https://email/owa" -ExternalUrl "https://email.domain.ru/owa"
New-OwaVirtualDirectory  -InternalUrl "https://email/owa" -ExternalUrl "https://email.domain.ru/owa" -WebSiteName "Exchange Back End"

Remove-EcpVirtualDirectory "ecp (Default Web Site)"
Remove-EcpVirtualDirectory "ecp (Exchange Back End)"
New-EcpVirtualDirectory  -InternalUrl "https://email/ecp" -ExternalUrl "https://email.domain.ru/ecp"
New-EcpVirtualDirectory  -InternalUrl "https://email/ecp" -ExternalUrl "https://email.domain.ru/ecp" -WebSiteName "Exchange Back End"

Комментариев нет:

Отправить комментарий