Just want to ask how to Export the data in existing CSV file in new column. I have this following code.
$Ex=Compare-Object $ImportWin7 $Importafipd1 -includeequal
$Ex | Select-Object SideIndicator | Export-Csv -Append -Force -NoTypeInformation "C:\NotBackedUp\EndpointAudit\Win7machinetest2.csv"
but it appears that the Data from $EX was appended not on the first row of the column.