Get-OutlookAnywhere | Set-OutlookAnywhere -ExternalHostname exchange.berrnd.org -InternalHostname exchange.berrnd.org -ExternalClientsRequireSsl $true -InternalClientsRequireSsl $true -DefaultAuthenticationMethod NTLM
Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -ExternalUrl https://exchange.berrnd.org/owa -InternalUrl https://exchange.berrnd.org/owa
Get-EcpVirtualDirectory | Set-EcpVirtualDirectory -ExternalUrl https://exchange.berrnd.org/ecp -InternalUrl https://exchange.berrnd.org/ecp
Get-ActiveSyncVirtualDirectory | Set-ActiveSyncVirtualDirectory -ExternalUrl https://exchange.berrnd.org/Microsoft-Server-ActiveSync -InternalUrl https://exchange.berrnd.org/Microsoft-Server-ActiveSync
Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -ExternalUrl https://exchange.berrnd.org/EWS/Exchange.asmx -InternalUrl https://exchange.berrnd.org/EWS/Exchange.asmx
Get-OabVirtualDirectory | Set-OabVirtualDirectory -ExternalUrl https://exchange.berrnd.org/OAB -InternalUrl https://exchange.berrnd.org/OAB
Get-ClientAccessService | Set-ClientAccessServer -AutoDiscoverServiceInternalUri https://exchange.berrnd.org/Autodiscover/Autodiscover.xml
Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -LogonFormat Username -DefaultDomain local.berrnd.net
Set-OutlookProvider -Identity EXPR -CertPrincipalName msstd:exchange.berrnd.org
Set-OutlookProvider EXPR -OutlookProviderFlags:ServerExclusiveConnect
Set-OutlookProvider EXPR -Server $null
Set-OutlookAnywhere -Identity * –ExternalHostname exchange.berrnd.org –InternalHostname exchange.berrnd.org –ExternalClientAuthenticationMethod Ntlm -ExternalClientsRequireSsl:$true –InternalClientAuthenticationMethod Ntlm -InternalClientsRequireSsl:$true –IISAuthentication Ntlm –SSLOffloading:$false
Set-OrganizationConfig -MapiHttpEnabled $true
Get-MapiVirtualDirectory | Set-MapiVirtualDirectory -ExternalUrl https://exchange.berrnd.org/mapi -InternalUrl https://exchange.berrnd.org/mapi