08-02-2009, 11:48 PM
(08-02-2009 11:27 AM)hondabones Wrote: [ -> ]Why do you have to grab the game's instance? Why can't you just run the affinities?The ProcessorAffinity property is a property of the Process class object. You can't reference an object's property without first getting an instance of the object. Essentially, you need to grab the process' instance so that PowerShell knows what process to change the affinity for.