一, 全文检索
dir "文件路径" -Recurse | Select-String "关键字"
二,批量关闭一批文件 (例:IE)
Get-Process -Name iexplorer.exe | Kill -Force
...
待绪...
本文介绍使用PowerShell进行全文检索的方法及如何批量关闭指定进程,如IE浏览器等,适用于系统管理和日常开发工作。
一, 全文检索
dir "文件路径" -Recurse | Select-String "关键字"
二,批量关闭一批文件 (例:IE)
Get-Process -Name iexplorer.exe | Kill -Force
...
待绪...

被折叠的 条评论
为什么被折叠?