I have "a.csv" and "b.csv" . I tried to merge them with below commands
cd c:/users/mine/test
Get-Content a.csv, b.csv | Select-Object -Unique | Set-Content -Encoding ASCII joined.csv
But I got Output file like b.csv added by end of the row of a.csv. I wanted add by end of the column of a.csv then b.csv columns should begin Note:- I cant install Join-Object module in my server.
Vm Resource SID
mnvb vclkn vxjcb
vjc.v vnxc,m bvkxncb
Vm 123 456 789
b apple banana orange
v lemon onion tomato
My expected output should be like below. Without changing the order and keeping Vm column name without over writing
Vm Resource SID Vm 123 456 789
mnvb vclkn vxjcb b apple banana orange
vjc.v vnxc,m bvkxncb v lemon onion tomato