if ($RoleProductPlatform -eq "amd64") { sc.exe config HostControllerService DisplayName= "Microsoft Exchange Search Host Controller" depend= http sc.exe failure HostControllerService reset= 86400 actions= restart/30/restart/30/restart/30 }
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; ...
if ($ServicePlanSettings.Organization.TransportRuleSizeLimit) { Microsoft.Exchange.Data.ByteQuantifiedSize $TransportRuleSizeLimit ...