Category Archives: PowerShell

Count the number of lines in your project with one line of Powershell

ls * -recurse -include *.aspx, *.ascx, *.cs, *.ps1 | Get-Content | Measure-Object -Line

Just replace the file extensions with the ones you use in your project.

Posted in PowerShell | Leave a comment

Emulating cmd.exe’s START command in Microsoft Powershell

I often browse through directories using the command line interface.  It is sometimes times faster and provides more information than using the GUI.  However, many times there are operations that are easier in the GUI.  This is why I always … Continue reading

Posted in PowerShell | Leave a comment