$LOW = 64 $BELOW_NORMAL = 16384 $NORMAL = 32 $SUPP_NORMAL = 32768 $HIGH = 128 $REAL_TIME = 256 $MesProcess = Get-WmiObject Win32_process -filter 'name = "chrome.exe"' foreach ($OneProcess in $MesProcess){ write-host $OneProcess.priority $OneProcess.SetPriority($LOW) }