Created
June 2, 2025 06:16
-
-
Save jd-boyd/fb686a93ac23d541191784e287339933 to your computer and use it in GitHub Desktop.
grep -r for powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem -Path . -Recurse -File | Select-String -Pattern "YourSearchString" | Format-Table Path,LineNumber,Line -AutoSize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment