powershell delete columns in multiple csv files

C++
Import-Csv C:\fso\co.csv | select processname,id | Export-Csv -Path c:\fso\modco.csv –NoTypeInformation
Source

Also in C++: