Exchange Virtual Directory Settings

Ana Sayfa – Yazılar

Exchange Server Virtual Directory Power Shell

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

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

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

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

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

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

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

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

Get-ActiveSyncVirtualDirectory | Set-ActiveSyncVirtualDirectory -ExternalUrl https://mail.domain.com/Microsoft-Server-ActiveSync -InternalUrl https://mail.domain.com/Microsoft-Server-ActiveSync

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

Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -ExternalUrl https://mail.domain.com/EWS/Exchange.asmx -InternalUrl https://mail.domain.com/EWS/Exchange.asmx

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

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

AUTODISCOVER SCP
Get-ClientAccessServer | Select Name,AutoDiscoverServiceInternalURI

Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceInternalUri https://mail.domain.com/Autodiscover/Autodiscover.xml

Download