Score:0

What is equivalent of taskset on powershell?

in flag

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

Score:2
im flag
DKU

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

francois P avatar
in flag
thanks for that link, this is exactly what I faild to find :)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.