Détecter si rôle EOP MAFE ou SafeLinksWebservice $IsEOPCapacity =! $(get-ItemProperty Registre:: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeLabs ...

# Détecter si rôle EOP MAFE ou SafeLinksWebservice          $IsEOPCapacity =! $(get-ItemProperty Registre:: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeLabs - ErrorAction SilentlyContinue).EOPMAFE          $IsSafeLinksWebservice = $(get-ItemProperty Registre:: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeLabs - ErrorAction SilentlyContinue).SafeLinksWebservice          Si ($IsEOPCapacity- et! $IsSafeLinksWebservice)          {            ."$RoleInstallPath\Scripts\enable-LiveIDForWebApplication.ps1 ";$fullPath = "$RoleInstallPath\ClientAccess\ExtendedReport\web.config" ;paramètres de l'application #update            Set-appconfigvalue - ConfigFileFullPath: $fullPath-élément : configuration / appSettings - AppSettingKey : LiveIdAuthModuleSiteName - NewValue: $RoleDatacenterSiteName ;          }