Se (! [stringa]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment)) { $pushNotificationAuthKeysPath = 'HKLM:\SOFTWARE\Microsoft\ExchangeLabs\PushNotificationAuthKeys'; $authKeys = @ {}; $pushNotificationAuthKeysItem = get-elemento $pushNotificationAuthKeysPath - ErrorAction: SilentlyContinue;Se ($pushNotificationAuthKeysItem - ne $null) { $pushNotificationAuthKeysItem | Proprietà di Select-Object - ExpandProperty | ForEach-Object ' { $keyValue = (ItemProperty get-percorso $pushNotificationAuthKeysPath-nome $_). $_; Se (! [stringa]:: IsNullOrEmpty($keyValue)) { $authKeys [$_] = ConvertTo-SecureString $keyValue - AsPlainText-forza; } } }Installazione CannedPushNotificationApp ' -AuthenticationKeys '$authKeys -Ambiente: $RoleDatacenterPushNotificationEnvironment ' -IsDedicated: $RoleIsDatacenterDedicated ' -AcsUser: $RoleDatacenterPushNotificationAcsUser ' -Area: $RoleDatacenterRegion; }
Se (! (Get-service MSExchangeDirCacheService | dove {$_.name - eq "MSExchangeDirCacheService"})) { installazione DirectoryCacheService ...
Se (! (get-service MSExchangeMigrationWorkflow | dove {$ . Name - eq "MSExchangeMigrationWorkflow"})) { installazione-MigrationWorkflowService ...
Se (! (get-service MSExchangeStreamingOptics | dove {$ . Name - eq "MSExchangeStreamingOptics"})) { Installazione-ExchangeStreamingOptics ...
Se (! (Get-service MSMessageTracingClient | dove {$_.name - eq "MSMessageTracingClient"})) { Stop-SetupService - ServiceName ...
Se (! stringa]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment)) { $pushNotificationAuthKeysPath = 'HKLM:\SOF ...
Se ($CreateSharedConfiguration) { Scrittura-ExchangeSetupLog-info "provisioning feature TemplateTenant"; Set-OrganizationFlags ...
Se ($MSExchangeAntimalwareService - ne $null- e $MSExchangeAntimalwareService.StartMode - ne "Disabilitato" - e $RoleStartTransportService) ...
Se ($RoleDatacenterEnableFullLanguageMode - eq "True") { . $RoleBinPath\CentralAdminSetup.ps1; AddLocalComputerAccountToCentralAdminServersGroup ...
Se ($RoleDatacenterEnableFullLanguageMode - eq "True") { .$RoleBinPath\CentralAdminSetup.ps1; RemoveLocalComputerAccountFromCentralAdminServersGroup ...