Merhaba;

Exchange 2013 üzerinde kurulumlar sonrası Virtual Directory linklerinin düzenlenmesi gerekir. Normal şartlarda bu işlemi ECP üzerinden Servers>Virtual Directories altında yapabiliriz.



Biz bu işlemleri PowerShell Scriptler ile yapabiliriz.

Örnek Scriplerimiz:

Autodiscover:
Get-ClientAccessServer | fl *uri*
Set-ClientAccessServer –Identity Ex2013 –AutoDiscoverServiceInternalUri https://autodiscover.get-exchangeserver.com/Autodiscover/autodiscover.xml

Exchange ActiveSync (EAS):
Get-ActiveSyncVirtualDirectory | fl *url*, ide*
Set-ActiveSyncVirtualDirectory –Identity "Ex2013\Microsoft-Server-ActiveSync (Default Web Site)" –ExternalUrl https://mail.get-exchangeserver.com/Microsoft-Server-ActiveSync

Exchange Control Panel (ECP):
Get-EcpVirtualDirectory | fl *url*, ide*
Set-EcpVirtualDirectory –Identity "Ex2013\ecp (Default Web Site)" –ExternalUrl https://mail.get-exchangeserver.com/ecp

Exchange Web Services (EWS):
Get-WebServicesVirtualDirectory | fl *url*, ide*
Set-WebServicesVirtualDirectory –Identity "Ex2013\EWS (Default Web Site)" –ExternalUrl https://mail.get-exchangeserver.com/EWS/Exchange.asmx

Offline Address Book (OAB):
Get-OabVirtualDirectory | fl *url*, ide*,pol*
Set-OabVirtualDirectory –Identity "Ex2013\OAB (Default Web Site)" –ExternalUrl https://mail.get-exchangeserver.com/OAB –PollInterval 60

Outlook Web App (OWA):
Get-OwaVirtualDirectory | fl *url*, ide*
Set-OwaVirtualDirectory –Identity "Ex2013\OWA (Default Web Site)" –ExternalUrl https://mail.get-exchangeserver.com/OWA

PowerShell:
Get-PowerShellVirtualDirectory | fl *url*, ide*
Set-PowerShellVirtualDirectory –Identity "Ex2013\PowerShell (Default Web Site)" –ExternalUrl https://mail.get-exchangeserver.com/powershell

Enable Outlook Anywhere:
Get-OutlookAnywhere –Server Ex2013
Enable-OutlookAnywhere –Server Ex2013 –ExternalHostname mail.get-exchangeserver.com –InternalHostname Ex2013.get-exchangeserver.com –ExternalClientAuthenticationMethod Basic –InternalClientAuthenticationMethod Ntlm –IISAuthentication Ntlm –SSLOffloading:$false

Faydalı olması dileğiyle.