Configure Exchange 2016 Virtual Directories By Using PowerShell Commands

Tuesday, September 29, 2015

Introduction The following article cover the basic commands that need to used to configure Exchange 2016 Virtual Directories settings. Configure Exchange 2016 Virtual Directories settings Outlook Anywhere:Set-OutlookAnywhere -Identity "MyServerName\RPC (Default Web Site)" -ExternalHostname ExternalServerName.ExternalDomainName.com -InternalHostname InternalServerName.InternalDomainName.local -ExternalClientsRequireSsl $true -InternalClientsRequireSsl $true -DefaultAuthenticationMethod NTLMGet-OutlookAnywhere | Select Server,ExternalHostname,Internalhostname | fl Autodiscover:Set-ClientAccessServer -Identity MyServerName –AutoDiscoverServiceInternalUri https://InternalServerName.InternalDomainName.local/Autodiscover/Autodiscover.xmlGet-ClientAccessServer | fl identity,autodiscoverserviceinternaluri MAPI:Set-MapiVirtualDirectory -Identity "MyServerName\mapi (Default Web Site)" -ExternalUrl https://ExternalServerName.ExternalDomainName.com/mapi -InternalUrl https://InternalServerName.InternalDomainName.local/mapiGet-MapiVirtualDirectory | Select Server,ExternalURL,InternalURL | fl Exchange Web Services (EWS):Set-WebServicesVirtualDirectory -Identity "MyServerName\EWS (Default Web Site)" -ExternalUrl https://ExternalServerName.ExternalDomainName.com/EWS/Exchange.asmx -InternalUrl https://InternalServerName.InternalDomainName.local/EWS/Exchange.asmxGet-WebServicesVirtualDirectory | Select Server,ExternalURL,InternalURL Offline Address Book (OAB):Set-OabVirtualDirectory -Identity "MyServerName\OAB (Default Web Site)" -ExternalUrl https://ExternalServerName.ExternalDomainName.com/OAB -InternalUrl...
no comments