$file= Import-Csv D:\files\users.csv
ForEach ( $user in $file)
$i= $user.User + ‘@’ + $user.Domain
$i | Export-Csv D:\files\users1.csv -NoTypeInformation -Append
I am trying to combine username with domain name from a csv file. However when I just output the variable it displays the information fine. However when I export to csv it displays the length in the csv file. Any suggestions on what is wrong here?