Exchange 2019 CU8 Install 7-1 PowerShell 虛擬目錄

980次阅读
尚無留言

Exchange 2019 CU8 Install 7-1 PowerShell 虛擬目錄

AutoDiscover 自動發現

Get-ClientAccessService | Set-ClientAccessService -AutoDiscoverServiceInternalUri "https://mail.ianext.com/Autodiscover/Autodiscover.xml"

Exchange 2019 CU8 Install 7-1 PowerShell 虛擬目錄

ECP

Set-EcpVirtualDirectory -Identity "SRVEX1\ecp (Default Web Site)" -InternalUrl "https://mail.ianext.com/ecp" -ExternalUrl "https://mail.ianext.com/ecp"

EWS

Set-WebServicesVirtualDirectory -Identity "SRVEX1\EWS (Default Web Site)" -InternalUrl "https://mail.ianext.com/EWS/Exchange.asmx" -ExternalUrl "https://mail.ianext.com/EWS/Exchange.asmx"

MAPI

Set-MapiVirtualDirectory -Identity "SRVEX1\mapi (Default Web Site)" -InternalUrl "https://mail.ianext.com/mapi" -ExternalUrl "https://mail.ianext.com/mapi"

ActiveSync

Set-ActiveSyncVirtualDirectory -Identity "SRVEX1\Microsoft-Server-ActiveSync (Default Web Site)" -InternalUrl "https://mail.ianext.com/Microsoft-Server-ActiveSync" -ExternalUrl "https://mail.ianext.com/Microsoft-Server-ActiveSync"

OAB

Set-OabVirtualDirectory -Identity "SRVEX1\OAB (Default Web Site)" -InternalUrl "https://mail.ianext.com/OAB" -ExternalUrl "https://mail.ianext.com/OAB"

OWA

Set-OWAVirtualDirectory -Identity "SRVEX1\owa (Default Web Site)" -InternalUrl "https://mail.ianext.com/owa" -ExternalUrl "https://mail.ianext.com/owa"

PowerShell

Set-PowerShellVirtualDirectory -Identity "SRVEX1\PowerShell (Default Web Site)" -InternalUrl "http://mail.ianext.com/powershell" -ExternalUrl "http://mail.ianext.com/powershell"

Exchange 2019 CU8 Install 7-1 PowerShell 虛擬目錄

PowerShell 合集

Get-ClientAccessService | Set-ClientAccessService -AutoDiscoverServiceInternalUri "https://mail.ianext.com/Autodiscover/Autodiscover.xml"Set-EcpVirtualDirectory -Identity "SRVEX1\ecp (Default Web Site)" -InternalUrl "https://mail.ianext.com/ecp" -ExternalUrl "https://mail.ianext.com/ecp"Set-WebServicesVirtualDirectory -Identity "SRVEX1\EWS (Default Web Site)" -InternalUrl "https://mail.ianext.com/EWS/Exchange.asmx" -ExternalUrl "https://mail.ianext.com/EWS/Exchange.asmx"Set-MapiVirtualDirectory -Identity "SRVEX1\mapi (Default Web Site)" -InternalUrl "https://mail.ianext.com/mapi" -ExternalUrl "https://mail.ianext.com/mapi"Set-ActiveSyncVirtualDirectory -Identity "SRVEX1\Microsoft-Server-ActiveSync (Default Web Site)" -InternalUrl "https://mail.ianext.com/Microsoft-Server-ActiveSync" -ExternalUrl "https://mail.ianext.com/Microsoft-Server-ActiveSync"Set-OabVirtualDirectory -Identity "SRVEX1\OAB (Default Web Site)" -InternalUrl "https://mail.ianext.com/OAB" -ExternalUrl "https://mail.ianext.com/OAB"Set-OWAVirtualDirectory -Identity "SRVEX1\owa (Default Web Site)" -InternalUrl "https://mail.ianext.com/owa" -ExternalUrl "https://mail.ianext.com/owa"Set-PowerShellVirtualDirectory -Identity "SRVEX1\PowerShell (Default Web Site)" -InternalUrl "http://mail.ianext.com/powershell" -ExternalUrl "http://mail.ianext.com/powershell"
iisreset /restart

參數簡單講解

[v_blue] 如果你生產環境有多台服務器,都要走一次這個命令,而且你還需要做網絡的負債均衡
服務器名稱:SRVEX1
InternalUrl:內部 URL
ExternalUrl:外部 URL[/v_blue]

正文完
文章赞赏 謝謝支持
post-qrcode
 0
Implementer
版权声明:本站原创文章,由 Implementer 于2021-02-17发表,共计2731字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
選擇比努力更重要!