


reg file: Windows Registry Editor Version File -WindowStyle Minimized -command get-filehash -literalpath '%1' -algorithm SHA256 | fl | clip" To add the PowerShell command to the right-click menu for files, here is a. To copy the output to the clipboard, pipe the output to the clip command, as below: get-filehash -path "C:\Users\ramesh\Desktop\reinstall-preinstalledApps.zip" | format-list | clip Integrate the command to the right-click menu The acceptable values for the -Algorithm parameter are: To use any other algorithm - e.g., SHA384, you can add the -Algorithm SHA384 parameter to the above command-line.Įxample: get-filehash -path "C:\Users\ramesh\Desktop\reinstall-preinstalledApps.zip" -Algorithm SHA384 | format-list Path : C:\Users\ramesh\Desktop\reinstall-preinstalledApps.zip This outputs the file hash (by default, it uses the SHA256 algorithm) as shown below: Here is the command-line example: get-filehash -path "C:\Users\ramesh\Desktop\reinstall-preinstalledApps.zip" | format-list Using Windows PowerShell ( powershell.exe), you can quickly get the file hash with a single command-line.
