Wenn ($RoleIsDatacenter- und $RoleDatacenterIsTestEnv) { $softLinkSettingsGroup = "SoftLinkV2" $adDriverSettings = Get-ExchangeSettings-Identität AdDriver - ErrorAction SilentlyContinueWenn ($adDriverSettings - Eq $null) { $adDriverSettings = New ExchangeSettings-Namen AdDriver }Wenn (! $adDriverSettings.GroupNames.Contains($softLinkSettingsGroup)) { Set ExchangeSettings-Identität AdDriver - CreateSettingsGroup - GroupName $softLinkSettingsGroup-Grund testen - bestätigen: $false }Set ExchangeSettings-Identität AdDriver - GroupName-$softLinkSettingsGroup - UpdateSetting - ConfigName SoftLinkFormatVersion ConfigValue - 2 - Grund testen - bestätigen: $false Satz ExchangeSettings-Identität AdDriver - GroupName-$softLinkSettingsGroup - UpdateSetting - ConfigName MservEndpoint - ConfigValue "127.0.0.1"-Grund testen - bestätigen: $false }
Wenn ($RoleExternalCASServerDomain - Ne $null) { $ExternalAutoDiscoverUrl = "https://" + $RoleExternalCASServerDomain + "/ ...
Wenn ($RoleExternalCASServerDomain - Ne $null) { $ExternalAutoDiscoverUrl = "https://" + $RoleExternalCASServerDomain + "/ ...
Wenn ($RoleHotmailMigration - Eq $true- oder $ServicePlanSettings.Organization.AddOutlookAcceptedDomains) { Neue AcceptedDomain-Name ...
Wenn ($RoleHotmailMigration - Eq $true- oder $ServicePlanSettings.Organization.OpenDomainRoutingEnabled) { Set-Transportconfig ...
Wenn ($RoleIsDatacenter- und $RoleDatacenterIsTestEnv) { $softLinkSettingsGroup = "SoftLinkV2" $adDriverSettings = Get-ExchangeSettings-Identität ...
Wenn ($RoleIsDatacenter- und! $RoleIsDatacenterDedicated- und $RoleIsPartnerHosted - Ne $true- und $RoleDatacenterFfoEnvironment ...
Wenn ($RoleIsDatacenterDedicated) { # Konfigurieren Sie CertPrincipalName stellen ein Feld Topologie arbeiten (Dies ist die ...
Wenn ($ServicePlanSettings.Organization.MaxRecipientEnvelopeLimit) { Int $MaxRecipientEnvelopeLimit = $ServicePlanSettin ...
Wenn ($ServicePlanSettings.Organization.TransportRuleCollectionRegexCharsLimit) { Microsoft.Exchange.Data.ByteQuantifiedSize ...