Public/ps1/Job/Stop-AllJobs.ps1
function Stop-AllJobs{ $runningProcesses = get-job $runningProcesses | %{ if ($_.Name.Contains("UblionConnect")) { Stop-Job $_.Name Remove-Job $_.Name } } } |
function Stop-AllJobs{ $runningProcesses = get-job $runningProcesses | %{ if ($_.Name.Contains("UblionConnect")) { Stop-Job $_.Name Remove-Job $_.Name } } } |