I have apparently misunderstood something about converting txt to csv through powershell
My txt file looks like this: The original looks the same but is much larger.
I would like some help to conert the text file to csv with comma as a delimeter.
Here is my code:
Get-Content C:\PS-import\TXT-TO-CSV.txt | ConvertTo-Csv | Export-Csv C:\PS-import\News.csv -NoTypeInformation