Set Process Priority


You can set the priority of the process by using the priority class parameter. Below is small snippet for that

(Get-Process -Id $processID).priorityclass =2

Below are the priority values.

-2="Idle";-1="BelowNormal";0="Normal";1="AboveNormal";2="High";3="RealTime"

Regards,

Chaitanya

Leave a Reply

Create your own website, free on WordPress.com.Create your own website.
Start free