I am trying to add data from one CSV file into another CSV file with Powershell
Expected output Example:
Network, Agent
Net1, Agent1
Net2, Agent2
Currently I am only managing to add the data like this which defeats the point:
Network
Net1
Net2
Agent
Agent1
Agent2
The reason for this is my program will need to specify the agents in an already generated CSV file.
Could anybody advise how I can add an additional column and then fill the data in the next rows?
Many thanks.