How to convert the Powershell cmdlet standard output to other format? -
i have output below powershell command line,
sno     id      computername        name        lastmodifiedby      state   priority    description  ---     --      ------------        ----        --------------      -----   --------    ----------- 1       adf     abcrtc              test        user453             normal  low         test activity1 2       arf     abcrrr              te12        user453             normal  low         test activity2 3       aff     abcree              te23        user453             normal  low         test activity3 4       cdf     abcrvv              te45        user453             normal  low         test activity4   i'm trying convert following format, i'm not getting due spaces in last column description
1;adf;abcrtc;test;user453;normal;low;this test activity1 2;arf;abcrrr;te12;user453;normal;low;this test activity2 3;aff;abcree;te23;user453;normal;low;this test activity3 4;cdf;abcrvv;te45;user453;normal;low;this test activity4   i use work on ps1, me.
myinstruction | convertto-csv -delimiter ";" -notypeinformation
Comments
Post a Comment