Windows PowerShell 中查找文件


参考文档 :https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-7.1

 

从一个路径中查找 
Get-ChildItem -Path E:\ -Recurse  -Name *943*

从多个路径中查找(逗号分隔)
Get-ChildItem -Path F:\,E:\ -Recurse  -Name *0620*

  

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM