Merge 2 csv files in powershell [duplicate]
问题 This question already has answers here : CMD or Powershell command to combine (merge) corresponding lines from two files (6 answers) Closed 2 years ago . I have 2 csv files, I want to add a new column from file A to file B to a new file. Atm, It doesn't take the values from A. File A.csv ID Name 1 Peter 2 Dalas File B.CSV Class Math Physic New file will be: ID Name Class 1 Peter Math 2 Dalas Physics Both files have the same number of rows. As the following the code I'm using, I would like to