Random Notes on Learning .NET Powershell C#. I publish as I learn. This
gives the blog a scratch quality. Starting with Powershell. A script
repository is at www.rmfdevelopment.com/PowerShell_Scripts
Wednesday, January 4, 2012
Count the number of binaries in your path
Powershell 3.0 CTP2
Count the number of binaries in your path:
([System.Environment]::GetEnvironmentVariables().Path -split(";") |% { ls $_ *.exe}).count
0 comments:
Post a Comment