本帖最后由 newswan 于 2021-4-28 01:06 编辑
- set _path_=D:\
- set _psline_= write-host (get-filehash $_.fullname -Algorithm md5).hash,$_.creationtime,$_.length,$_.fullname ;
- powershell -c "Get-ChildItem -Recurse %_path_% | ?{^!$_.PSIsContainer} | foreach-object -process{%_psline_%}"
复制代码
|