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

Si (! [cadena]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment))          {            $pushNotificationAuthKeysPath = 'HKLM:\SOFTWARE\Microsoft\ExchangeLabs\PushNotificationAuthKeys';            $authKeys = @ {};            $pushNotificationAuthKeysItem = get-Item $pushNotificationAuthKeysPath - ErrorAction: SilentlyContinue;Si ($pushNotificationAuthKeysItem - ne $null)            {              $pushNotificationAuthKeysItem | Propiedad de Select-Object - ExpandProperty | ForEach-Object '              {                $keyValue = (get-ItemProperty-Path $pushNotificationAuthKeysPath-Name $_). $_;                Si (! [cadena]:: IsNullOrEmpty($keyValue))                {                    $authKeys [$_] = ConvertTo-SecureString $keyValue - AsPlainText-fuerza;                }              }            }Instalación CannedPushNotificationApp '                -AuthenticationKeys de $authKeys                -Entorno: $RoleDatacenterPushNotificationEnvironment '                -IsDedicated: $RoleIsDatacenterDedicated '                -AcsUser: $RoleDatacenterPushNotificationAcsUser '                -Región: $RoleDatacenterRegion;          }