Why not go the object way?
$output_file = "D:output.csv"
$input_file = "D:input1.txt"
Get-Content -Path $input_file | ForEach-Object {
# output an object
[PsCustomObject]@{
record = $_
stream = $_
library = $_
thumbnail = $_
}
} | Export-Csv -Path $output_file -NoTypeInformation
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…