Skip to content

Instantly share code, notes, and snippets.

@stevenqzhang
Last active August 29, 2015 14:26
Show Gist options
  • Save stevenqzhang/59380072310b0e4e06e6 to your computer and use it in GitHub Desktop.
Save stevenqzhang/59380072310b0e4e06e6 to your computer and use it in GitHub Desktop.
# http://superuser.com/questions/742115/powershell-equivalent-of-grep-r-l-files-with-matches
Get-ChildItem -Recurse *.* | Select-String -Pattern "foo" | Select-Object -Unique Path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment