8,330 questions
One way is to parse it by substrings. You may need to adjust the columns and string lengths.
$data = Get-Content C:\temp\Test.txt
$csv = foreach ($line in $data) {
'"{0}","{1}","{2}"' -f $line.Substring(0,4), $line.Substring(5,26) , $line.Substring(32)
}
""
$csv
$html = foreach ($line in $data) {
'<tr><td>{0}</td><td>{1}</td><td>{2}</td></tr>' -f $line.Substring(0,4), $line.Substring(5,26) , $line.Substring(32)
}
""
"<table>"
$html
"</table>"