Count File Rows with PowerShell – 365Knowledge

Robert PeledieDyn365CE6 years ago80 Views


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

Follow
Sign In/Sign Up Sidebar Search
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...