Created
March 30, 2017 08:13
-
-
Save akiya64/01682ff6ba2a1758998001a455a02901 to your computer and use it in GitHub Desktop.
Count Lines in Folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem -Recurse | Where-Object {($_.name -like "*cls") -or ($_.name -like "*bas") -or ($_.name -like "*dcm")} | ForEach-Object { Get-Content $_.Name } | Measure-object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment