Exemple avec Chrome
$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)
}
Lien vers le fichier : cliquez ici
Pages Web
Site Web | Description |
---|---|
Blogs.technet.microsoft.com | How Can I Lower the Priority of a Process Using a Script? |