none
Powershell Transpose CSV File RRS feed

  • General discussion

  • Hello,

    I am a newbie to Powershell and would like to know if the following can be done, if yes can you help with script

    1. My file contains following data

    File1,Col1,Col2

    File2,Col1,Col2,Col3

    File3,Col1,Col2,Col3,Col4

    DESIRED OUTPUT:

    File1,Col1

    File1,Col2

    File2,Col1

    File2,Col2

    File2,Col3

    File3,Col1

    File3,Col2

    File3,Col3

    File3,Col4

    Thanks,

    Indrajit

    • Changed type Bill_Stewart Thursday, January 25, 2018 10:28 PM
    • Moved by Bill_Stewart Thursday, January 25, 2018 10:29 PM This is not "scripts on demand"
    Thursday, November 16, 2017 3:54 PM

All replies