SET
 powershell -c "(get-process hoge).processoraffinity=1"

GET
 powershell -c "get-process hoge|select-object processoraffinity"