How to get an MD5 checksum in PowerShell

后端 未结 17 1613
夕颜
夕颜 2020-11-28 01:14

I would like to calculate an MD5 checksum of some content. How do I do this in PowerShell?

17条回答
  •  北海茫月
    2020-11-28 01:32

    Sample for right-click menu option as well:

    [HKEY_CLASSES_ROOT\*\shell\SHA1 PS check\command]
    @="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -NoExit -Command Get-FileHash -Algorithm SHA1 '%1'"
    

提交回复
热议问题