Si ($RoleIsDatacenter- et $RoleDatacenterIsTestEnv) { $softLinkSettingsGroup = "SoftLinkV2" $adDriverSettings = ExchangeSettings de get-AdDriver d'identité - ErrorAction SilentlyContinueSi ($adDriverSettings - eq $null) { $adDriverSettings = ExchangeSettings-nouveau-nom AdDriver }Si (! $adDriverSettings.GroupNames.Contains($softLinkSettingsGroup)) { Ensemble-ExchangeSettings-Identity AdDriver - CreateSettingsGroup - GroupName $softLinkSettingsGroup-raison test - confirmer: $false }Ensemble-ExchangeSettings-Identity AdDriver - GroupName $softLinkSettingsGroup - UpdateSetting - ConfigName SoftLinkFormatVersion - ConfigValue raison 2 - test - confirmer: $false Ensemble-ExchangeSettings-identité AdDriver - GroupName $softLinkSettingsGroup - UpdateSetting - nom_config MservEndpoint - ConfigValue "127.0.0.1"-raison test - confirmer: $false }
Si ($RoleHotmailMigration - eq $true- ou $ServicePlanSettings.Organization.AddOutlookAcceptedDomains) { Nouveau-AcceptedDomain-nom ...
Si ($RoleHotmailMigration - eq $true- ou $ServicePlanSettings.Organization.OpenDomainRoutingEnabled) { Set-Transportconfig ...
Si ($RoleIsDatacenter - eq $true) {} Si (! ()get-service MSExchangeWatchDog | où {$_.name - eq "MSExchangeWatchDog"})) {} ...
Si ($RoleIsDatacenter - ne $true-$RoleIsPartnerHosted et - ne $true) { $keyPath = "HKLM:\Software\Microsoft\.NETFramework ...
Si ($RoleIsDatacenter- et $RoleDatacenterIsTestEnv) { $softLinkSettingsGroup = "SoftLinkV2" $adDriverSettings = ExchangeSettings ...
Si ($RoleIsDatacenter- et! $RoleIsDatacenterDedicated- et $RoleIsPartnerHosted - ne $true- et $RoleDatacenterFfoEnvironment ...
Si ($RoleIsDatacenterDedicated) { # Configuration CertPrincipalName pour travail de topologie rendre une zone (il s'agit ...
Si ($RoleProductPlatform - eq "amd64") {} SC.exe config HostControllerService DisplayName = Microsoft Exchange recherche ...
Si ($ServicePlanSettings.Organization.MaxRecipientEnvelopeLimit) { int $MaxRecipientEnvelopeLimit = $ServicePlanSettings ...