Update-WebServicesVirtualDirectoryVersion - DomainController $RoleDomainController; $BEVdirIdentity = $RoleNetBIOSName + ...

Update-WebServicesVirtualDirectoryVersion - DomainController $RoleDomainController;          $BEVdirIdentity = $RoleNetBIOSName + "\EWS (Exchange-Back-End)";          $werden = Get-WebServicesVirtualDirectory - ShowMailboxVirtualDirectories-$RoleDomainController $BEVdirIdentity Identität - DomainController - ErrorAction SilentlyContinue;          Wenn ($ - Eq $null sein)          {            $BackEndPort = ": 444";            $urlToUse = "https://" + $RoleFqdnOrName + $BackEndPort + "/ Exchange.asmx";            neue WebServicesVirtualDirectory-Rolle Postfach - WebSiteName "Exchange Back-End" - WindowsAuthentication: $true - WSSecurityAuthentication: $true - BasicAuthentication: $false - InternalNLBBypassUrl $urlToUse - DomainController $RoleDomainController-Force - GzipLevel hoch;          }          Else          {            $werden | Correctly - WindowsAuthentication: $sein.WindowsAuthentication - WSSecurityAuthentication: $sein.WSSecurityAuthentication - BasicAuthentication: $sein.BasicAuthentication          }          . "$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1"-' Anwendungspool_Name ' ist: "MSExchangeServicesAppPool"-Version: "v4. 0";