Jump to content













Photo
- - - - -

Exchange 2013/16 Set Virtual Directories Notes

  Posted by Pantelis Apostolidis , in Exchange Server 13 December 2016 · 606 views

exchange exchange 2013 exchange 2016

Exchange 2013/16 Set Virtual Directories Notes

By Pantelis Apostolidis | December 13, 2016
0 Comment

 

You can find all this info at many many blogs allover the internet, I just want to have a note here to have them gathered for ease.

 

Outlook Anywhare
Get-OutlookAnywhere | Select Server,ExternalHostname,Internalhostname

 

Get-OutlookAnywhere | Set-OutlookAnywhere -ExternalHostname mail.mydomain.com -InternalHostname mail.mydomain.com -ExternalClientsRequireSsl $true -InternalClientsRequireSsl $true -DefaultAuthenticationMethod NTLM

 

MAPI
Get-MapiVirtualDirectory | Select Server,ExternalURL,InternalURL | fl

 

Get-MAPIVirtualDirectory | Set-MAPIVirtualDirectory -ExternalUrl https://mail.mydomain.com/mapi-InternalUrl https://mail.mydomain.com/mapi

 

OWA
Get-OwaVirtualDirectory | Select Server,ExternalURL,InternalURL | fl

 

Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -ExternalUrl https://mail.mydomain.com/owa-InternalUrl https://mail.mydomain.com/owa

 

ECP
Get-EcpVirtualDirectory | Set-EcpVirtualDirectory -ExternalUrl https://mail.mydomain.com/ecp-InternalUrl https://mail.mydomain.com/ecp

 

ActiveSync
Get-ActiveSyncVirtualDirectory | select server,externalurl,internalurl | fl

 

Get-ActiveSyncVirtualDirectory | Set-ActiveSyncVirtualDirectory -ExternalUrl https://mail.mydomai...rver-ActiveSync-InternalUrl https://mail.mydomai...rver-ActiveSync

 

EWS
Get-WebServicesVirtualDirectory | Select Server,ExternalURL,InternalURL | fl

 

Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -ExternalUrl https://mail.mydomai...S/Exchange.asmx-InternalUrl https://mail.mydomai...S/Exchange.asmx

 

OAB
Get-OabVirtualDirectory | Select Server,ExternalURL,InternalURL | fl

 

Get-OabVirtualDirectory | Set-OabVirtualDirectory -ExternalUrl https://mail.mydomain.com/OAB-InternalUrl https://mail.mydomain.com/OAB

 

AUTODISCOVER SCP
Get-ClientAccessServer | Select Name,AutoDiscoverServiceInternalURI

 

Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceInternalUri https://mail.mydomai...utodiscover.xml