function Start-DependentServices { <# .SYNOPSIS Deprecated methodology for starting the Subscription Service and Broker. Will be removed at a later date #> $logLead = (Get-LogLeadName); Write-Warning "$logLead : Deprecated method for returning Tier 0 MS. Replace with a call to Get-ChocolateyServicesToStart" $rawservicesToStart = @(Get-AlkamiServices) $dependentServicesToStart = @() $dependentServicesToStart += @($rawservicesToStart | Where-Object { $_.Status -eq "Stopped" -and $_.Name -match "Broker" }) $dependentServicesToStart += @($rawservicesToStart | Where-Object { $_.Status -eq "Stopped" -and $_.Name -match "Subscriptions" }) if (Test-IsCollectionNullOrEmpty $dependentServicesToStart) { Write-Host "$logLead : No Dependent Services Found to Start" } else { $serviceNamesToStart = $dependentServicesToStart | Select-Object -ExpandProperty "Name"; Start-ServicesInParallel $serviceNamesToStart; } }