|
Reading a text file and retaining line feeds I've tried reading a text file using
$reportContent = get-content -path $tempFilePath
but it loses the line-feeds so I just get one long string. Can I do
it with get-content or do I need to use a StreamReader or something
similar? |