david mohundro

Another PowerShell tip...

June 22nd 2006

I can’t help myself, PowerShell is great and I keep finding useful things to do with it. Most of what I’ve been finding is easily accomplished in other ways, but this just goes to show the power available straight from the PowerShell command prompt.

What if you want to know the full path to all of the solutions in a sub-directory?

You could try this:

PS C:\Dev>dir -recurse -include *.sln . | foreach { $_.FullName }

This builds on my post from yesterday.

blog comments powered by Disqus