View Single Post
Old 07-04-2009   #2 (permalink)
Flowering Weeds


 
 

Re: Search filenames only

Quote:

>
> In Linux (bash), I could do:
>
>
> Code:
> --------------------
> ls | grep -i "match me"
> --------------------
>
Mmm since this is the year of data parsing
and charting (and yes Regex is also included)
then perhaps for a large numbers of files - FYI

Remember, Windows PowerShell
is not a data parser, but is a
Windows-based automation tool,
meant to pass "data"
from tool to tool, to tool,
until output (or whatever)!

Mmm automate tools and there really are
lots of Windows-based tools available,
for Windows PowerShell to automateI

So for here perhaps (like so many IT Pros)
automate a data parser tool within powershell.exe!

Perhaps Microsoft's IIS's (local or remote)
data parser, Log Parser!

PS > LogParser.exe -h -i:fs

Input format: FS (FileSystem properties)
Returns properties of files and folders

"Log Parser" - Bing
http://www.bing.com/search?q=%22Log+Parser%22

And surely after all these years,
any PowerShell user can help
one automate Log Parser too!

As always enjoy the automation
of tools within the Windows-based,
..NET aware, WPF accessible,
admin's automation tool,
powershell.exe!


My System SpecsSystem Spec