Hi,
If a csv has column names, I am using the reader to read the first row of data and not the column headers row. I'm using the following statement:
$reader = New-Object System.IO.StreamReader($File)
if ($ColumnNames -eq 'True') {$reader.ReadLine()}
The issue I'm having, is that the line of data is is then displayed on the console. Is there a way to run this statement without having the line displayed?
Thanks,
Helen