Created
November 28, 2022 08:29
-
-
Save yyamasak/2a71884ce767d50bce73e926cabfdf70 to your computer and use it in GitHub Desktop.
PowerShell script equivalent to "grep -r -A 1 ABCD *.txt"
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 . -include *.txt -Recurse | Select-String -Context 0,1 ABCD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment