PowerShell Copy the output from a.csv file and paste it in b.csv file column two. RRS feed

  • General discussion

  • Hi All,

    I am new to power-shell.

    Question: I have two files. File1 which his a.csv contains the list of IP-ADDRESS and their status with header as IP/HOST-STATUS. File-b which his b.csv contains the list of FQDN with header as IP/HOST-FQDN. I would like to copy the b.csv file to a.csv file in second column NOT IN FIRST column.

    desired result should be as follows

    IP/HOST-STATUS              IP/HOST-FQDN                        x.y.com                       g.b.com

    • Changed type Bill_Stewart Thursday, September 5, 2019 9:53 PM
    • Moved by Bill_Stewart Thursday, September 5, 2019 9:53 PM This is not "scripts on demand"
    Wednesday, August 14, 2019 3:49 PM

All replies

  • As you may or may not know, this is not a script request forum (see the first post at the top of this forum).

    The simplest solution I could suggest is to use a spreadsheet programs such as Excel and copy and paste.

    -- Bill Stewart [Bill_Stewart]

    Wednesday, August 14, 2019 3:53 PM