BEVdirIdentity = $RoleNetBIOSName + "\EWS (Exchange Back-End);" $BackEndPort = ": 444"; $urlToUse = "https://" + $RoleFqdnOrName ...

$BEVdirIdentity = $RoleNetBIOSName + "\EWS (Exchange Back-End);"          $BackEndPort = ": 444";          $urlToUse = "https://" + $RoleFqdnOrName + "/ EWS/Exchange.asmx";          Get-WebServicesVirtualDirectory - ShowMailboxVirtualDirectories-$BEVdirIdentity identidad - DomainController $RoleDomainController | quitar WebServicesVirtualDirectory - DomainController $RoleDomainController;          nuevo-WebServicesVirtualDirectory-función buzón - WebSiteName "Exchange Back End" - windowsAuthentication: $true - WSSecurityAuthentication: $true - BasicAuthentication: $false - InternalNLBBypassUrl $urlToUse - DomainController $RoleDomainController-fuerza GzipLevel - alta;