if (!(get-service MSExchangeAntimalwareSvc* | where {$_.name -eq "MSExchangeAntimalwareSvc"})) { install-AntimalwareService }
if ( $RoleIsDatacenterDedicated ) { Install-EmailAddressPolicy -DomainController $RoleDomainController -DomainName $Role ...
if ( (get-service MSExchangeRepl* | where {$_.name -eq "MSExchangeRepl"})) { upgrade-MSExchangeReplService } else { install-MSExchangeReplService ...
if (!$CreateSharedConfiguration -or $ServicePlanSettings.Organization.TemplateTenant) { Install-EmailAddressPolicy -DomainController ...
if (!$CreateSharedConfiguration) { $sysMbx = $null; $name = "SystemMailbox{8cc370d3-822a-4ab8-a926-bb94bd0641a9}"; $dispName ...
if (!(get-service MSExchangeAntimalwareSvc* | where {$_.name -eq "MSExchangeAntimalwareSvc"})) { install-AntimalwareService ...
if (!(get-service MSExchangeDirCacheService* | where {$_.name -eq "MSExchangeDirCacheService"})) { install-DirectoryCacheService ...
if (!(get-service MSExchangeMigrationWorkflow* | where {$_.name -eq "MSExchangeMigrationWorkflow"})) { install-MigrationWorkflowService ...
if (!(get-service MSExchangeStreamingOptics* | where {$_.name -eq "MSExchangeStreamingOptics"})) { Install-ExchangeStreamingOptics ...
if (!(get-service MSMessageTracingClient* | where {$_.name -eq "MSMessageTracingClient"})) { Stop-SetupService -ServiceName ...