import-csv creates a collection of objects with properties generated
from your columns in the csv.
so here i presume clcode is the name of that column.. then you could do
something like this
import-csv $csvlocation | foreach { $_.clcode += ',' }
NeilOz wrote:
Quote:
> I have imported a csv using import-csv
>
> $clcode = import-csv $csvlocation | select clcode
>
> $clcode results are a list of 6 digit numbers, for the next part of the
> script I need to add ',' to the end of the 6 digits, I have messed around
> with different methods and have been unable to figure out how to do it,
> easily.
>
> Please help 
> Neil