Consente di rilevare se ruolo EOP MAFE o SafeLinksWebservice $IsEOPCapacity =! $(get ItemProperty del Registro di sistema:: ...

# Consente di rilevare se ruolo EOP MAFE o SafeLinksWebservice          $IsEOPCapacity =! $(get ItemProperty del Registro di sistema:: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeLabs - ErrorAction SilentlyContinue).EOPMAFE          $IsSafeLinksWebservice = $(get ItemProperty del Registro di sistema:: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeLabs - ErrorAction SilentlyContinue).SafeLinksWebservice          Se ($IsEOPCapacity- e! $IsSafeLinksWebservice)          {               $returnURL = "https://" + $RoleDatacenterSiteName + "/ ecp";               $authCookieName = "RPSAuthEOP";               $secAuthCookieName = "RPSSecAuthEOP";               ."$RoleInstallPath\Scripts\Add-SiteToRps.ps1 ";                             Aggiungere-SiteToRps'                  MsoSiteName - $RoleDatacenterSiteName '                  MsoSiteId - $RoleDatacenterSiteId '                  -ReturnURL $returnURL '                  AuthCookie - $authCookieName '                  SecAuthCookie - $secAuthCookieName;                             #Ensure che servizio di terze parti di ricorrere viene riavviato dopo l'attivazione liveID               Riavvio del servizio RPSSVC - ErrorAction SilentlyContinue;           }