[powershell]Use powershell to get file hash / 使用powershell获取文件哈希值

 

1.首先检查powershell版本:

应该为5.1

 

低版本升级补丁:https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-powershell?view=powershell-6

WIN7SP1:https://www.microsoft.com/en-us/download/details.aspx?id=54616

 

 

2.使用方法

 

1 Get-FileHash .\bilibil_master.zip -Algorithm md5
2 Get-FileHash .\bilibil_master.zip -Algorithm SHA1

 

 

 批量操作:

Get-FileHash * -Algorithm SHA1

 

posted @ 2019-06-15 11:00  夜歌乘年少  阅读(495)  评论(0编辑  收藏  举报