if ($RoleIsDatacenter -ne $true -And $RoleIsPartnerHosted -ne $true) { $keyPath = "HKLM:\Software\Microsoft\.NETFramework"; if (!(Get-Item $keyPath -ErrorAction SilentlyContinue)) { New-Item $keyPath -Force } Set-ItemProperty -path $keyPath -name "DisableRetStructPinning" -value 0x1 -Type DWORD -Force; }
if ($RoleExternalCASServerDomain -ne $null) { $ExternalAutoDiscoverUrl = "https://" + $RoleExternalCASServerDomain + "/a ...
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 ...