更新时间:2022-04-17 08:51:47
这应该给出包含您的模式的文件的位置:
This should give the location of the files that contain your pattern:
Get-ChildItem -Recurse | Select-String "dummy" -List | Select Path
如何在多个文件中搜索字符串并在Powershell中返回文件名?