DEV Community

terminalpuncher.com
terminalpuncher.com

Posted on

Count Lines, Words and Characters in a given file using PowerShell

get-content c:\ps\helloworld.ps1 | measure-object -line -word -character
Enter fullscreen mode Exit fullscreen mode

Top comments (0)