I have imported a csv file
$infile = import-csv .\myfile.csv
Now I can show the columns (now object properties) by
$infile | gm -type NoteProperty
Name MemberType
------- ----------
Column1 NoteProperty
Column2 NoteProperty
etc...
What I want to do is get the value of the Name(Column1..) into a variable.