Wenn (! [String]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment)) { $pushNotificationAuthKeysPath = 'HKLM:\SOFTWARE\Microsoft\ExchangeLabs\PushNotificationAuthKeys'; $authKeys = @ {}; $pushNotificationAuthKeysItem = $pushNotificationAuthKeysPath Get-Item - ErrorAction: SilentlyContinue;Wenn ($pushNotificationAuthKeysItem - Ne $null) { $pushNotificationAuthKeysItem | Select-Object - ExpandProperty-Eigenschaft | ForEach-Object " { $keyValue = (Get-ItemProperty-Pfad $pushNotificationAuthKeysPath-Name $_). $_; Wenn (! [String]:: IsNullOrEmpty($keyValue)) { $authKeys [$_] = ConvertTo-SecureString-$keyValue - AsPlainText-erzwingen; } } }Installation CannedPushNotificationApp " -AuthenticationKeys $authKeys -Umgebung: $RoleDatacenterPushNotificationEnvironment " -IsDedicated: $RoleIsDatacenterDedicated " -AcsUser: $RoleDatacenterPushNotificationAcsUser " -Region: $RoleDatacenterRegion; }
Wenn (! ()Get-Service MSExchangeDirCacheService | wobei {$_.name - Eq "MSExchangeDirCacheService"})) { Installieren DirectoryCacheService ...
Wenn (! ()Get-Service MSExchangeMigrationWorkflow | wo {$_.name - Eq "MSExchangeMigrationWorkflow"})) {} Install-MigrationWorkflowService ...
Wenn (! ()Get-Service MSExchangeStreamingOptics | wo {$_.name - Eq "MSExchangeStreamingOptics"})) {} Install-ExchangeStreamingOptics ...
Wenn (! ()Get-Service MSMessageTracingClient | wobei {$_.name - Eq "MSMessageTracingClient"})) { Stop SetupService Dienstname ...
Wenn (! String]:: IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment)) { $pushNotificationAuthKeysPath = 'HKLM:\SO ...
Wenn ($CreateExtraPartialTenantObjects - Eq $true) { # von Bind-Organisation konfiguriert werden, wenn der Mieter "gebunden" ...
Wenn ($CreateSharedConfiguration) { Write-ExchangeSetupLog-Info "TemplateTenant Feature provisioning"; Set-OrganizationF ...
Wenn ($MSExchangeAntimalwareService - Ne $null- und $MSExchangeAntimalwareService.StartMode - Ne "Deaktiviert" - und $RoleStartTransportService) ...
Wenn ($RoleDatacenterEnableFullLanguageMode - Eq "True") { . $RoleBinPath\CentralAdminSetup.ps1; AddLocalComputerAccountToCentralAdminServersGroup ...