ps/Modules/Alkami.PowerShell.Services/Public/Stop-ServicesChocolateyOnly.ps1

24 lines
411 B
PowerShell
Raw Permalink Normal View History

2023-05-30 22:51:22 -07:00
function Stop-ServicesChocolateyOnly {
<#
.SYNOPSIS
Stops services installed in a chocolatey folder path.
#>
[CmdletBinding()]
param()
$loglead = (Get-LogLeadName);
Write-Output "$loglead Started"
$servicesToStop = Get-ServicesToStop -skipAlkamiServices
if ($servicesToStop)
{
Stop-ServicesInParallel $servicesToStop
}
Write-Output "$loglead Completed"
}