Se (! seqüência de caracteres]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment)) { $pushNotificationAuthKeysPath ...

Se (! [seqüência de caracteres]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment))          {            $pushNotificationAuthKeysPath = 'HKLM:\SOFTWARE\Microsoft\ExchangeLabs\PushNotificationAuthKeys';            $authKeys = @ {};            $pushNotificationAuthKeysItem = get-Item $pushNotificationAuthKeysPath - ErrorAction: SilentlyContinue;Se ($pushNotificationAuthKeysItem - ne $null)            {              $pushNotificationAuthKeysItem | Propriedade do Select-Object - ExpandProperty | ForEach-Object '              {                $keyValue = (ItemProperty get-caminho $pushNotificationAuthKeysPath-nome _ $). $_;                Se (! [seqüência de caracteres]:: IsNullOrEmpty($keyValue))                {                    $authKeys [$_] = ConvertTo-SecureString $keyValue - AsPlainText-forçar;                }              }            }CannedPushNotificationApp de instalação '                -AuthenticationKeys '$authKeys                -Ambiente: $RoleDatacenterPushNotificationEnvironment '                -IsDedicated: $RoleIsDatacenterDedicated '                -AcsUser: $RoleDatacenterPushNotificationAcsUser '                -Região: $RoleDatacenterRegion;          }