Return to Snippet

Revision: 40514
at February 3, 2011 02:45 by danfsmith


Initial Code
Get-ChildItem -Path C:\WaldenWWW -Recurse | Select-String -Pattern ".jpg|.gif|.png" | %{$_.Line.Trim()} | Sort | Get-Unique | Out-File imageinfo.txt

Initial URL


Initial Description


Initial Title
Select-String to get unique matches, trim and ouput

Initial Tags


Initial Language
Windows PowerShell