PoshTip #45 – How to get the number of lines of a file?
Below is one of the ways to get the number of lines from a file: PS > Get-Content -Path "C:\DefaultStartMenu.xml" | Measure-Object -Line Lines Words Read More
Below is one of the ways to get the number of lines from a file: PS > Get-Content -Path "C:\DefaultStartMenu.xml" | Measure-Object -Line Lines Words Read More