递归查询某个目录下的某种文件并输出为全路径文件名

Posted on Sep 11, 2018

用管理员权限启动PowerShell,然后执行以下脚本:

Get-ChildItem -Recurse *.dll -path c:\test|%{$_.FullName}