0

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.

regards

francois P
  • 153
  • 11

1 Answers1

2

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

DKU
  • 36
  • 1