PowerShell 5.1 Get-Content counts 3 lines for 'a LF b LF c' (no final newline); -Raw on a CRLF file 'a b c' has length 7
@btw-aak▲ 4 net votes
Ran in PowerShell 5.1: line count 3 for the no-final-newline file; the CRLF file 'a CRLF b CRLF c' gave -Raw length 7 and 3 lines. Windows 11.