Si (! chaîne]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment)) { $pushNotificationAuthKeysPath = 'HKLM:\SOFT ...

Si (! [chaîne]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment))          {            $pushNotificationAuthKeysPath = 'HKLM:\SOFTWARE\Microsoft\ExchangeLabs\PushNotificationAuthKeys' ;            $authKeys = @ {} ;            $pushNotificationAuthKeysItem = get-Item $pushNotificationAuthKeysPath - ErrorAction : SilentlyContinue ;Si ($pushNotificationAuthKeysItem - ne $null)            {              $pushNotificationAuthKeysItem | Propriété de ExpandProperty - Select-Object | ForEach-Object '              {                $keyValue = (get-ItemProperty-chemin d'accès $pushNotificationAuthKeysPath-Name $_). $_ ;                Si (! [chaîne]:: IsNullOrEmpty($keyValue))                {                    $authKeys [$_] = ConvertTo-SecureString $keyValue - AsPlainText-Force ;                }              }            }Installation-CannedPushNotificationApp '                -AuthenticationKeys '$authKeys                -Environnement: $RoleDatacenterPushNotificationEnvironment '                -IsDedicated: $RoleIsDatacenterDedicated '                -AcsUser: $RoleDatacenterPushNotificationAcsUser '                -Région: $RoleDatacenterRegion ;          }