What is equivalent of taskset on powershell ?

I mean if you don't know what is taskset, the command to start a process/application on dedicated pool of CPU cores.

I didn't find anything similar, does it exist that possibility ? sorry for so basic question but I m out of Windows knowledge.


1 Answer 1


In Powershell you can assign dedicated CPU to a application or process by setting affinity value to the process.

Get-Process <ApplicationName> | select -Property ProcessorAffinity

For more info for setting the values to process: https://newbedev.com/change-affinity-of-process-with-windows-script

  • 1
    thanks for that link, this is exactly what I faild to find :)
    – francois P
    Nov 19, 2021 at 18:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .