I'm trying to create a cli command to have TFS check out all files that have a particular string in them. I primarily use cygwin but the tf
command has trouble resolving the path when run within the cygwin environment.
I figure powershell should be able to do the same thing, but I'm not sure what the equivalent commands to grep and xargs are.
So, what would be the equivalent powershell version to the following bash command?
grep -l -r 'SomeSearchString' . | xargs -L1 tf edit