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

$BEVdirIdentity = $RoleNetBIOSName + "\EWS (Exchange-Back-End)";          $BackEndPort = ": 444";          $urlToUse = "https://" + $RoleFqdnOrName + "/ Exchange.asmx";          Get-WebServicesVirtualDirectory - ShowMailboxVirtualDirectories-Identity $BEVdirIdentity - DomainController $RoleDomainController | Remove-WebServicesVirtualDirectory - DomainController $RoleDomainController;          neue WebServicesVirtualDirectory-Rolle Postfach - WebSiteName "Exchange Back-End" - WindowsAuthentication: $true - WSSecurityAuthentication: $true - BasicAuthentication: $false - InternalNLBBypassUrl $urlToUse - DomainController $RoleDomainController-Force - GzipLevel hoch;