====Windows - Add Menus to right-click==== ===Add menu=== - Open regedit.exe - Navigate to Computer\HKEY_CLASSES_ROOT\*\shell - Add a new key called Hash - Add the following Strings: - Icon - MUIVerb - Add a Default value of Hash - Position - SubCommands - Add a Default value of md5;sha512 ===Add md5 checksum to Hash menu=== - Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell - Add a new key md5 - Add a new key command - Add a Default value of powershell -command $clip=Get-Clipboard; $md5=(Get-FileHash -Path \""%1"\" -Algorithm MD5).Hash; $equal=($clip -eq $md5); Write-Host "MD5: $md5"; Write-Host "Matches current clipboard: $equal"; Write-Host "Press any key to exit"; $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown') ===Add SHA512 checksum to Hash menu=== Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell - Add a new key sha512 - Add a new key command - Add a Default value of powershell -command $clip=Get-Clipboard; $sha512=(Get-FileHash -Path \""%1"\" -Algorithm sha512).Hash; $equal=($clip -eq $sha512); Write-Host "SHA512: $sha512"; Write-Host "Matches current clipboard: $equal"; Write-Host "Press any key to exit"; $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')