You are on page 1of 2

Get File Hash Checksum (MD5, SHA-256) via Right-click Menu - Winhelponline https://www.winhelponline.

com/blog/how-to-get-file-hash-via-right-click-menu-windows/

powershell.exe

get-filehash -path "C:\Users\ramesh\Desktop\reinstall-preinstalledApps.zip" | format-list

Algorithm : SHA256
Hash : 3A0F056494EB1C0257FCDB59F9F93811962D4F796AD2596EC6FF1CDF8D365470
Path : C:\Users\ramesh\Desktop\reinstall-preinstalledApps.zip

-Algorithm SHA384
Discount On Air Ticket

get-filehash -path "C:\Users\ramesh\Desktop\reinstall-preinstalledApps.zip" -Algorithm SHA3

report this ad

-Algorithm

get-filehash -path "C:\Users\ramesh\Desktop\reinstall-preinstalledApps.zip" | format-list |

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\*\shell\gethash]
@="Get File Hash"

[HKEY_CURRENT_USER\Software\Classes\*\shell\gethash\command]
@="powershell -WindowStyle Minimized -command get-filehash -literalpath '%1' -algorithm SHA

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Classes\*\shell\gethash]

certutil.exe -hashfile file_name SHA256

get-hash-certutil.vbs

'Get File hash via the right-click menu


'SHA256 hash for the file is copied to the clipboard automatically
'Created: June 4, 2019 by Ramesh Srinivasan - winhelponline.com

Option Explicit
Dim WshShell, sOut, sFileName, sCmd, oExec, strInput
Set WshShell = WScript.CreateObject("WScript.Shell")

If WScript.Arguments.Count = 0 Then
strInput = InputBox("Type ADD to add the Get File Hash context menu item, or REMOVE
If ucase(strInput) = "ADD" Then
sCmd = "wscript.exe " & chr(34) & WScript.ScriptFullName & Chr(34) & " " & """" &
WshShell.RegWrite "HKCU\Software\Classes\*\shell\gethash\", "Get File Hash", "REG
WshShell.RegWrite "HKCU\Software\Classes\*\shell\gethash\command\", sCmd, "REG_SZ
WScript.Quit
ElseIf ucase(strInput) = "REMOVE" Then
sCmd = "reg.exe delete HKCU\Software\Classes\*\shell\gethash" & " /f"
WshShell.Run sCmd, 0
WScript.Quit
End If
Else
sFileName = """" & WScript.Arguments(0) & """"
sCmd = "cmd.exe /c certutil.exe -hashfile " & sFileName & " SHA256" & _
" | findstr /v " & chr(34) & "completed successfully" & Chr(34) & " | clip"
WshShell.Run sCmd, 0
End If

ADD

SHA256

REMOVE

Clip.exe

certutil -hashfile file_name SHA256

MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512

1 of 2 13-02-2021, 9:19 AM
Get File Hash Checksum (MD5, SHA-256) via Right-click Menu - Winhelponline https://www.winhelponline.com/blog/how-to-get-file-hash-via-right-click-menu-windows/

CRC SHA >

BLAKE2

Ctrl C

report this ad

→ →

2 of 2 13-02-2021, 9:19 AM

You might also like