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 ; }
Si (! ()Get-service MSExchangeDirCacheService | où {$_.name - eq "MSExchangeDirCacheService"})) { installation-DirectoryCacheService ...
Si (! ()get-service MSExchangeMigrationWorkflow | où {$_.name - eq "MSExchangeMigrationWorkflow"})) {} install-MigrationWorkflowService ...
Si (! ()get-service MSExchangeStreamingOptics | où {$_.name - eq "MSExchangeStreamingOptics"})) {} Install-ExchangeStreamingOptics ...
Si (! ()Get-service MSMessageTracingClient | où {$_.name - eq "MSMessageTracingClient"})) { Stop-SetupService - ServiceName ...
Si (! chaîne]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment)) { $pushNotificationAuthKeysPath = 'HKLM:\SOFT ...
Si ($CreateExtraPartialTenantObjects - eq $true) { # créer la première boîte aux lettres utilisateur à configurer par l'organisation ...
Si ($CreateSharedConfiguration) { Écriture-ExchangeSetupLog-info "mise en service de fonctionnalité TemplateTenant ; Ensemble-OrganizationFlags ...
Si ($MSExchangeAntimalwareService - ne $null- et $MSExchangeAntimalwareService.StartMode - ne Désactivé - et $RoleStartTransportService) ...
Si ($RoleCustomerFeedbackEnabled - ne $null) { $organizationConfig = get-OrganizationConfig ; Si ($organizationConfig.CustomerFeedbackEnabled ...