Wednesday, April 6, 2016

Powershell look for a string in a folder (both file names and contents)

Get-ChildItem -recurse | Select-String -pattern "Unicorn" | group path | select name

Works like windows explorer, just looks inside files as well. Tab completes a location.


No comments:

Post a Comment