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 comment

Design a site like this with WordPress.com
Get started