Public/ps1/Job/Stop-AllJobs.ps1

function Stop-AllJobs{

    $runningProcesses = get-job

    $runningProcesses | %{
    
        if ($_.Name.Contains("UblionConnect")) {
            Log ("Stopping job :" + $_.Name)
            Stop-Job $_.Name
            Remove-Job $_.Name
        }
    }
}