<< Back to Script Library

Set Process Priority to AboveNormal

Version: 1.2.2
Created: 2019-03-20
Modified: 2019-03-20
Creator: trentent.tye
Downloads: 251
Tags:
The Script Copy Script Copied to clipboard
$priorityhash = @{-2="Idle";-1="BelowNormal";0="Normal";1="AboveNormal";2="High";3="RealTime"} 
 
    (Get-Process -Id $args[0]).priorityclass = $priorityhash[1]