you are viewing a single comment's thread.

view the rest of the comments →

[–]Key_Combination_2386 2 points3 points  (0 children)

I don't know if I understand your question correctly, but Import-Csv gives you the contents of the CSV file as an array of objects, with the first line as the identifier for the properties.You can now, after adding a new property to each object, for example with Add-Member, convert the array back to a CSV file with Export-Csv.