I would like to lower the priority of the jobs that I start with Start-Job in PowerShell scripts. Is this possible?
I used this trick right in a job's code (it can be optional, controlled by a parameter):
[System.Threading.Thread]::CurrentThread.Priority = 'Lowest'
Available priority values: Lowest, BelowNormal, Normal, AboveNormal, Highest