This is an old revision of the document!
According to me, the first thing we need to deal with is CSV file. First let's read one CSV file, loop over it.
Here is an example of CSV input file.
Import-Csv -Path input.csv | foreach { $currentLine = $_ }