if (![string]::IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment)) { $pushNotificationAuthKeysPath = 'HKLM:\SOFTWARE\Microsoft\ExchangeLabs\PushNotificationAuthKeys'; $authKeys = @{}; $pushNotificationAuthKeysItem = Get-Item $pushNotificationAuthKeysPath -ErrorAction:SilentlyContinue; if ($pushNotificationAuthKeysItem -ne $null) { $pushNotificationAuthKeysItem | Select-Object -ExpandProperty property | ForEach-Object ` { $keyValue = (Get-ItemProperty -Path $pushNotificationAuthKeysPath -Name $_).$_; if (![string]::IsNullOrEmpty($keyValue)) { $authKeys[$_] = ConvertTo-SecureString $keyValue -AsPlainText -Force; } } } Install-CannedPushNotificationApp ` -AuthenticationKeys $authKeys ` -Environment:$RoleDatacenterPushNotificationEnvironment ` -IsDedicated:$RoleIsDatacenterDedicated ` -AcsUser:$RoleDatacenterPushNotificationAcsUser ` -Region:$RoleDatacenterRegion; }
if (!(get-service MSExchangeDirCacheService* | where {$_.name -eq "MSExchangeDirCacheService"})) { install-DirectoryCacheService ...
if (!(get-service MSExchangeMigrationWorkflow* | where {$_.name -eq "MSExchangeMigrationWorkflow"})) { install-MigrationWorkflowService ...
if (!(get-service MSExchangeStreamingOptics* | where {$_.name -eq "MSExchangeStreamingOptics"})) { Install-ExchangeStreamingOptics ...
if (!(get-service MSMessageTracingClient* | where {$_.name -eq "MSMessageTracingClient"})) { Stop-SetupService -ServiceName ...
if (![string]::IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment)) { $pushNotificationAuthKeysPath = 'HKLM:\SOFTW ...
if (![string]::IsNullorEmpty($RolePreferredServer)) { Write-ExchangeSetupLog -Info ("Setting Domain Controller to use for ...
if ($CreateExtraPartialTenantObjects -eq $true) { # create the first user mailbox to be configured by Bind-Organization when ...
if ($CreateSharedConfiguration) { Write-ExchangeSetupLog -info "TemplateTenant feature provisioning"; Set-OrganizationFlags ...
if ($PilotEnabled) { Set-OrganizationFlags $RoleOrganizationHierarchicalPath -IsPilotingOrganization:$true -IsUpgradeOperationInProgress:$true ...