Powershell Tip #52: Count the number of lines of a file

By | October 6, 2015

Tip: You can easily count the number of lines of a file that way :

 

 

count-number-line-powershell

There are also other switch parameters we can use to count the number of words or characters for example.

measure-object-lines-words-characters

measure-object-lines-words-characters-powershell


previous-buttonnext-button

Leave a Reply

Your email address will not be published. Required fields are marked *