경우 (! 문자열]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment)) { $pushNotificationAuthKeysPath = 'HKLM:\SOFTWAR ...

경우 (! [문자열]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment))          {            $pushNotificationAuthKeysPath = 'HKLM:\SOFTWARE\Microsoft\ExchangeLabs\PushNotificationAuthKeys'.            $authKeys = @ {};            $pushNotificationAuthKeysItem = $pushNotificationAuthKeysPath를 get 항목 ErrorAction: 때문입니다.경우 $pushNotificationAuthKeysItem-ne ($null)            {              $pushNotificationAuthKeysItem | 선택-개체-ExpandProperty | ForEach 개체 '              {                $keyValue = (get ItemProperty-경로 $pushNotificationAuthKeysPath-$_ 이름). $_.                경우 (! [문자열]:: IsNullOrEmpty($keyValue))                {                    [$_] $authKeys = AsPlainText $keyValue ConvertTo-SecureString-강제로.                }              }            }CannedPushNotificationApp 설치 '                -AuthenticationKeys $authKeys'                -환경: $RoleDatacenterPushNotificationEnvironment '                -IsDedicated: $RoleIsDatacenterDedicated '                -AcsUser: $RoleDatacenterPushNotificationAcsUser '                지역: $RoleDatacenterRegion;          }