if (!(get-service MSMessageTracingClient* | where {$_.name -eq "MSMessageTracingClient"})) { Stop-SetupService -ServiceName MSMessageTracingClient Uninstall-MessageTracingClientService }
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 ...
if (![string]::IsNullOrEmpty($RoleDatacenterPushNotificationEnvironment)) { $pushNotificationAuthKeysPath = 'HKLM:\SOFTW ...
if (![string]::IsNullorEmpty($RolePreferredServer)) { Write-ExchangeSetupLog -Info ("Setting Domain Controller to use for ...
if ($CreateExtraPartialTenantObjects -eq $true) { # create the first user mailbox to be configured by Bind-Organization when ...
if ($CreateSharedConfiguration) { Write-ExchangeSetupLog -info "TemplateTenant feature provisioning"; Set-OrganizationFlags ...