How to view the hash value of a file

2023-02-20

In Win11 system, we can use Windows terminal to read the fileHash value(Compare the downloaded resource verification MD5 or SHA1 with the official hash value. If it is correct, it means it has not been tampered with). However, many users do not know how to do this. This article is a method for reading file hash values ​​in Win11 Windows terminal brought to you by our site.

First, press Win + X on your keyboard, or right-clicktask barClick the Windows Start icon at the bottom, and in the hidden menu that opens, select Windows Terminal (Administrator);

At this time, you can open the Administrator: WindowsPowerShell

Windows PowerShell to get the file hash value:

PS C:Windowssystem32> Get-FileHash [absolute path] -Algorithm [algorithm type] | Format-List

Example: Read the md5 value of Byonekey.exe in the baiyun folder of drive E, and display the algorithm and file path (i.e. Format-List);

Get-FileHash E:aiyunByonekey.exe -Algorithm md5 | Format-List

The results of the above command are as follows:

Algorithm //Algorithm type Hash //FileHash valuePath //The absolute path of the file

The algorithm types supported by this command are as follows:

SHA1、SHA256

SHA384、SHA512

MACTripleDES

MD5、RIPEMD160

The above are the tips for checking file hash values ​​in Win11. I hope you like them. Please continue to pay attention to Mold Master.


share
Next:This is the last one
Prev:This is the first article