BackEndPort=":444"; $urlToUse="https://" + $RoleFqdnOrName + $BackEndPort + "/ews/exchange.asmx"; new-WebServicesVirtualDirectory ...

$BackEndPort=":444";          $urlToUse="https://" + $RoleFqdnOrName + $BackEndPort + "/ews/exchange.asmx";          new-WebServicesVirtualDirectory -Role Mailbox -WebSiteName "Exchange Back End" -windowsAuthentication:$true -WSSecurityAuthentication:$true -BasicAuthentication:$false -InternalNLBBypassUrl $urlToUse -DomainController $RoleDomainController -Force -GzipLevel High;