Erkennen, ob EOP MAFE Rolle oder SafeLinksWebservice $IsEOPCapacity =! $(Get ItemProperty Registrierung:: HKEY_LOCAL_MAC ...

-Erkennen, ob EOP MAFE Rolle oder SafeLinksWebservice          $IsEOPCapacity =! $(Get ItemProperty Registrierung:: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeLabs - ErrorAction SilentlyContinue).EOPMAFE          $IsSafeLinksWebservice = $(Get ItemProperty Registrierung:: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeLabs - ErrorAction SilentlyContinue).SafeLinksWebservice          Wenn ($IsEOPCapacity- und! $IsSafeLinksWebservice)          {               $returnURL = "https://" + $RoleDatacenterSiteName + "/ Ecp";               $authCookieName = "RPSAuthEOP";               $secAuthCookieName = "RPSSecAuthEOP";               ."$RoleInstallPath\Scripts\Add-SiteToRps.ps1 ";                             Hinzufügen-SiteToRps                  MsoSiteName - $RoleDatacenterSiteName "                  MsoSiteId - $RoleDatacenterSiteId "                  ReturnURL - $returnURL "                  AuthCookie - $authCookieName "                  -SecAuthCookie $secAuthCookieName;                             #Ensure der Passport verlassen Partei-Dienst erneut gestartet wird, nachdem Sie Live ID aktiviert               Neustart-Service RPSSVC - ErrorAction SilentlyContinue;           }