24 lines
411 B
PowerShell
24 lines
411 B
PowerShell
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"
|
|
}
|
|
|