if (![string]::IsNullorEmpty($RolePreferredServer)) { Write-ExchangeSetupLog -Info ("Setting Domain Controller to use for add-secondarydomain: " + $RolePreferredServer); Set-ADServerSettings -PreferredServer $RolePreferredServer; } $domain = $null; if($RoleDomainType -eq $null) { $domain = new-accepteddomain -organization $RolePrimaryOrganization -name $RoleSecondaryDomainName -domainname $RoleSecondarySmtpDomainName -AuthenticationType $RoleAuthenticationType -LiveIdInstanceType $RoleLiveIdInstanceType -OutBoundOnly $RoleOutBoundOnly; } else { $domain = new-accepteddomain -organization $RolePrimaryOrganization -name $RoleSecondaryDomainName -domainname $RoleSecondarySmtpDomainName -AuthenticationType $RoleAuthenticationType -LiveIdInstanceType $RoleLiveIdInstanceType -DomainType $RoleDomainType -OutBoundOnly $RoleOutBoundOnly; } if($RoleMakeDefault -ne $null -and $RoleMakeDefault -eq $true) { set-accepteddomain $domain.Identity -MakeDefault $true; }
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 ...
if ($RoleCustomerFeedbackEnabled -ne $null) { $organizationConfig = get-OrganizationConfig; if ($organizationConfig.CustomerFeedbackEnabled ...