Public/ps1/Configuration/Stop-LeftConncetJob.ps1
function Stop-LeftConncetJob{ param($taskInformation) $runningProcesses = get-job ($taskInformation.name) $runningProcesses | %{ if ($_.Name.Contains("UblionConnect")) { Log ("Stopping job :" + $_.Name) Stop-Job $_.Name Remove-Job $_.Name } } } |