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; }
Si (! ()Get-service MSExchangeDirCacheService | donde {$_.name - eq "MSExchangeDirCacheService"})) { instalar DirectoryCacheService ...
Si (! ()Get-service MSExchangeMigrationWorkflow | donde {$_.name - eq "MSExchangeMigrationWorkflow"})) {} install-MigrationWorkflowService ...
Si (! ()Get-service MSMessageTracingClient | donde {$_.name - eq "MSMessageTracingClient"})) { Stop SetupService - ServiceName ...
Si (! ()obtener servicio MSExchangeStreamingOptics | donde {$_.name - eq "MSExchangeStreamingOptics"})) {} Instalar ExchangeStreamingOptics ...
Si (! cadena]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment)) { $pushNotificationAuthKeysPath = 'HKLM:\SOFT ...
Si ($CreateExtraPartialTenantObjects - eq $true) { # crear el primer buzón de usuario configurarse por organización de enlace ...
Si ($CreateSharedConfiguration) { Escritura ExchangeSetupLog-info "provisioning de característica TemplateTenant"; $RoleOrganizationHierarchicalPath ...
Si ($MSExchangeAntimalwareService - ne $null- y $MSExchangeAntimalwareService.StartMode - ne "Disabled" - y $RoleStartTransportService) ...
Si ($RoleDatacenterEnableFullLanguageMode - eq "True") { . $RoleBinPath\CentralAdminSetup.ps1; AddLocalComputerAccountToCentralAdminServersGroup ...