Skip to content

Instantly share code, notes, and snippets.

@willwm
Created January 19, 2018 23:38
Show Gist options
  • Save willwm/cb9810864e3564a8ab0da4e97b758aef to your computer and use it in GitHub Desktop.
Save willwm/cb9810864e3564a8ab0da4e97b758aef to your computer and use it in GitHub Desktop.
Get-ChildItem "C:\path\to\folder" -recurse | Where-Object { (Get-Content $_) -like '*TextToFind*' } | Select-Object { $_.FullName}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment