Etc
PowerShell 파일 내용 찾기 명령어
NaHyungMin
2021. 9. 17. 16:01
Select-string -Path "d:\texttest.txt" -Pattern '찾을 텍스트'
Select-String (Microsoft.PowerShell.Utility) - PowerShell
The Select-String cmdlet searches for text and text patterns in input strings and files. You can use Select-String similar to grep in UNIX or findstr.exe in Windows. Select-String is based on lines of text. By default, Select-String finds the first match i
docs.microsoft.com