Set Process Priority to AboveNormal

$priorityhash = @{-2=”Idle”;-1=”BelowNormal”;0=”Normal”;1=”AboveNormal”;2=”High”;3=”RealTime”} (Get-Process -Id $args[0]).priorityclass = $priorityhash[1]

Version: 1.2.2
Created: 2019-03-20T11:16:27.983
Modified: 2019-03-20T11:17:57.5
Creator: trentent.tye
Downloads: 88
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]

START YOUR TRIAL

Get Your Download Link

Gain access to ControlUp from your PC. Register and get a link to start your Free Trial.