Powershell out-file csv to columns


  • Is there a way to use the out-file command and load data into a csv file so when opened into excel it shows data in multiple colums.


    Example. Loop with three variables($a, $b, and $c). each time through the loop, the variables are loaded with different data. at the end of each loop, there is an out-file (with append) command that writes to a CSV and puts $a in column A, $b in column b, and $c in column c.


    Is this possible?

    Wednesday, November 2, 2011 1:54 PM


All replies