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*

  

 

posted @ 2021-08-07 17:31  hheedat  阅读(2170)  评论(0编辑  收藏  举报