Count File Rows with PowerShell – 365Knowledge


By365KAdmin

Count File Rows with PowerShell

Very quick post (more so I don’t forget how to do this!)

Had a CSV file which I knew had a lot of rows!….. more than excel could handle to open, so I wanted to know the exact number, but without opening.

PowerShell to the rescue:

$lines = 0
$fileReader = New-Object IO.StreamReader...

Continue Reading 365KAdmin’s Article on their blog

Count File Rows with PowerShell – 365Knowledge

Blog Syndicated with 365KAdmin’s Permission

Author: Robert Peledie

Share This Post On
Share via
Copy link
Powered by Social Snap