PS C:\> (Get-ChildItem -Recurse -File | Get-Content | Measure-Object -line).Lines
39597572
PS C:\> dir -Include *.csv -Recurse |
>> % { $_ | select name, @{n="lines";e={
>> get-content $_ |
>> measure-object -line |
>> select -expa lines }
>> }
>> } | ft -AutoSize