[August 25th, 2008] Check the home page regarding PowerShell related news from a brand new sponsor: Idera!
can i create a get-childitem that selects me the contents of all "test" folders on my harddrive?
Sure.
76# Get-ChildItem -Recurse | ? { $_.PSIsContainer -and $_.Name -eq 'test' } | gci Directory: Microsoft.PowerShell.Core\FileSystem::C:\cygwin\lib\perl5\5.8\Test Mode LastWriteTime Length Name ---- ------------- ------ ---- d---- 6/8/2007 11:36 AM <DIR> Harness d---- 6/8/2007 11:36 AM <DIR> Simple -a--- 12/29/2005 10:05 PM 35503 Builder.pm -a--- 12/29/2005 10:05 PM 29940 Harness.pm -a--- 12/29/2005 10:05 PM 36256 More.pm -a--- 12/29/2005 10:05 PM 6604 Simple.pm -a--- 12/29/2005 10:05 PM 18948 Tutorial.pod