Pretty new to to powershell and coding in general, dabbled a bit here and there and would like to try creating my own organized files.
I have an excel sheet(xls) from which I need certain rows and have them output to a txt file , line by line while the spaces between the numbers are replaced by commas, atm due to various limitations I can use powershell.
e.g.
input: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
output(in txt file):
1,2,3,4,5,6,7,8
I tried converting to csv and then tried to find the right commands to have powershell read it but I got lost on the way a havent had any luck finding what I need