mise à jour-WebServicesVirtualDirectoryVersion - DomainController $RoleDomainController ; $BEVdirIdentity = $RoleNetBIOSName ...

mise à jour-WebServicesVirtualDirectoryVersion - DomainController $RoleDomainController ;          $BEVdirIdentity = $RoleNetBIOSName + « \EWS (Exchange Back End) » ;          $être = get-WebServicesVirtualDirectory - ShowMailboxVirtualDirectories-Identity $BEVdirIdentity - DomainController $RoleDomainController - ErrorAction SilentlyContinue ;          Si ($être - eq $null)          {            $BackEndPort = ": 444" ;            $urlToUse = "https://" + $RoleFqdnOrName + $BackEndPort + "/ EWS/Exchange.asmx » ;            nouvelle-WebServicesVirtualDirectory-rôle boîte aux lettres - nom du site Web « Exchange Back-End » - windowsAuthentication: $true - WSSecurityAuthentication: $true - BasicAuthentication: $false - InternalNLBBypassUrl $urlToUse - DomainController $RoleDomainController-forcer - GzipLevel élevé ;          }          autre          {            $est | Set-WebServicesVirtualDirectory - windowsAuthentication: $être.WindowsAuthentication - WSSecurityAuthentication: $être.WSSecurityAuthentication - BasicAuthentication: $être.BasicAuthentication          }          . « $RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1 » - AppPoolName: « MSExchangeServicesAppPool »-Version: « v4.0 » ;