I am trying to export an ArrayList object to a CSV file. The object is a list of 3 element arrays.
I have been trying something like the following however I just get information about the object (number of elements, length, etc).
$CsvArrayList | Export-Csv "./Output.csv"
Is it possible to output the values contained in an array list into csv format? Ideally one line per array and one element per cell.
$csvarraylist | foreach-object {$_} | export-CSV output.csv -notype