If you run it, you can use this: -
$a = gps powershell $a.PriorityClass = "BelowNormal"
or you can use it using the key: -
Get-WmiObject Win32_process -filter 'name = "notepad.exe"' | foreach-object { $_.SetPriority(32) }
Priority codes are as follows: -
256 REALTIME 128 HIGH_PRIORITY 32768 ABOVE_NORMAL 32 NORMAL 16384 BELOW_NORMAL 64 IDLE
Rahul tripathi
source share