BEVdirIdentity = $RoleNetBIOSName + \EWS (Exchange серверный) ; $BackEndPort = ": 444"; $urlToUse = "https://" + $RoleFqdnOrName ...

$BEVdirIdentity = $RoleNetBIOSName + «\EWS (Exchange серверный)»;          $BackEndPort = ": 444";          $urlToUse = "https://" + $RoleFqdnOrName + "/ ews/exchange.asmx";          Get-WebServicesVirtualDirectory - ShowMailboxVirtualDirectories-$RoleDomainController $BEVdirIdentity удостоверение - DomainController | Удаление WebServicesVirtualDirectory - DomainController $RoleDomainController;          новый WebServicesVirtualDirectory-роли почтового ящика - Имя_веб_узла «Exchange Back End» - windowsAuthentication: $true - WSSecurityAuthentication: $true - BasicAuthentication: $false - InternalNLBBypassUrl $urlToUse - DomainController $RoleDomainController-принудительно GzipLevel - высокий;