/ Published in: Windows PowerShell
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Get-ChildItem -Path C:\WaldenWWW -Recurse | Select-String -Pattern ".jpg|.gif|.png" | %{$_.Line.Trim()} | Sort | Get-Unique | Out-File imageinfo.txt