Need to check the file hash of a file on Windows, to ensure the file has not been altered or corrupted?
Use the below command in PowerShell or Windows Terminal on Windows Systems:
certutil -hashfile <FILEPATH/FILENAME> <HASH-TYPE>
certutil -hashfile <FILEPATH/FILENAME> SHA256
Hash Type Options
- MD2
- MD4
- MD5
- SHA1
- SHA256
- SHA384
- SHA512
Source: https://www.windowsdigitals.com/verify-md5-sha256-checksum-windows-11/
Last updated on