|
Re: parsing csv files with fields that may contain commas You can use the Import-Csv Cmdlet to assign the contents of the csv file to
a variable, then you can retrieve the fields as properties of the variable.
$data = import-csv data.csv
$data | select-onject field1
$data | select-object field1 | format-table -hide
$data | foreach-object {$_.field1}--
Kiron |