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

More About This Author

Robert Peledie
Robert Peledie
Technical CRM Consultant and Agile Scrum Master, with full project lifecycle experience.

I have developed and implemented CRM and ERP solutions in a number of sectors including Utilities, Financial Services, Public Sector, Charity and B2B Events.

I predominately work with Microsoft technologies including Dynamics CRM (Dynamics 365), SQL, Office, but also have experience with Salesforce Service/Sales Cloud, Sugar CRM, Zoho and GoldMine.

Author: Robert Peledie

Technical CRM Consultant and Agile Scrum Master, with full project lifecycle experience. I have developed and implemented CRM and ERP solutions in a number of sectors including Utilities, Financial Services, Public Sector, Charity and B2B Events. I predominately work with Microsoft technologies including Dynamics CRM (Dynamics 365), SQL, Office, but also have experience with Salesforce Service/Sales Cloud, Sugar CRM, Zoho and GoldMine.

Share This Post On