BackEndPort = ": 444"; $urlToUse = "https://" + $RoleFqdnOrName + $BackEndPort + "/ ews/exchange.asmx"; novo WebServicesVirtualDirectory-função ...

$BackEndPort = ": 444";          $urlToUse = "https://" + $RoleFqdnOrName + $BackEndPort + "/ ews/exchange.asmx";          novo WebServicesVirtualDirectory-função caixa de correio - NomedoSite "Exchange Back-End" - windowsAuthentication: $true - WSSecurityAuthentication: $true - BasicAuthentication: $false - InternalNLBBypassUrl $urlToUse - DomainController $RoleDomainController-Force - GzipLevel alto;