if ($RoleIsDatacenterDedicated) { # Configure CertPrincipalName to make one box topology work (this is global configuration that lives in AD) Write-ExchangeSetupLog -Info "CAS: Setting Outlook Provider properties for ID:EXPR, CertPrincipalName: $RoleDatacenterPrimaryCertPrincipalName" $outlookProviderExpr = get-OutlookProvider | where { $_.Name -eq 'EXPR' } if ([string]::IsNullOrEmpty($outlookProviderExpr.CertPrincipalName)) { set-OutlookProvider EXPR -DomainController $RoleDomainController -CertPrincipalName:"msstd:$RoleDatacenterPrimaryCertPrincipalName" } elseif ($outlookProviderExpr.CertPrincipalName -ne "msstd:$RoleDatacenterPrimaryCertPrincipalName") { throw "PrimaryCertPrincipalName does not match CertPrincipalName in EXPR Outlook Provider."; } } else { set-OutlookProvider EXPR -DomainController $RoleDomainController -OutlookProviderFlags:ServerExclusiveConnect -CertPrincipalName:"msstd:$RoleDatacenterOutlookProviderCertPrincipalName" }
if ($RoleIsDatacenter -and !$RoleIsDatacenterDedicated -and $RoleIsPartnerHosted -ne $true -and $RoleDatacenterFfoEnvironment ...
if ($RoleIsDatacenter -and $RoleDatacenterIsTestEnv) { $softLinkSettingsGroup = "SoftLinkV2" $adDriverSettings = Get-ExchangeSettings ...
if ($RoleIsDatacenter -eq $true) { if (!(get-service MSExchangeWatchDog* | where {$_.name -eq "MSExchangeWatchDog"})) { Install-WatchDogService; ...
if ($RoleIsDatacenter -ne $true -And $RoleIsPartnerHosted -ne $true) { $keyPath = "HKLM:\Software\Microsoft\.NETFramework"; ...
if ($RoleIsDatacenterDedicated) { # Configure CertPrincipalName to make one box topology work (this is global configuration ...
if ($RoleProductPlatform -eq "amd64") { sc.exe config HostControllerService DisplayName= "Microsoft Exchange Search Host ...
if ($ServicePlanSettings.Organization.MaxRecipientEnvelopeLimit) { int $MaxRecipientEnvelopeLimit = $ServicePlanSettings ...
if ($ServicePlanSettings.Organization.TransportRuleCollectionRegexCharsLimit) { Microsoft.Exchange.Data.ByteQuantifiedSize ...
if ($ServicePlanSettings.Organization.TransportRuleLimit) { int $TransportRuleLimit = $ServicePlanSettings.Organization.TransportRuleLimit; ...