Joined November 2013
·

Darren Hickling

Head of Development at Avon Data
·
Bristol, UK
·
·
·

Posted to PowerShell Recursive Search over 1 year ago

Loving the ability to further augment search with pipes. Here, I can (roughly) find all unique icons in alphabetical order:

Get-ChildItem -Include ('*.html', '*.ts') -Recurse | Select-String "['""]+.*(icon-[a-zA-Z\-]+)" | % { $_.Matches.Groups[1].Value } | Select-Object -Unique | Sort-Object
Achievements
60 Karma
11,189 Total ProTip Views