Sunday, August 11, 2019

File Hash Integrity Checking - Microsoft Power Shell Application

1.    Save the .iso type file to be hash-checked onto a flash drive “M” and temporarily rename the file as M:\hash. However, the actual drive letter could be different from "M".


2.    Open Windows Power Shell


3.    Select “Windows Power Shell – Desktop App”


4.    Enter one of the following command strings by copy and paste...

 

Get-FileHash M:\hash.iso -Algorithm MD5

Get-FileHash M:\hash.iso -Algorithm SHA1

Get-FileHash M:\hash.iso -Algorithm SHA256

Get-FileHash M:\hash.iso -Algorithm SHA384

Get-FileHash M:\hash.iso -Algorithm SHA512

Get-FileHash M:\hash.iso -Algorithm MACTripleDES

Get-FileHash M:\hash.iso -Algorithm RIPEMD160

 

5.    Press <enter>


6.    No visible sign of active computation is provided. So be patient because large files may require a considerable amount of time for processing.


7.    Mark the resulting hash string calculation with click and drag. Then right-click or press <enter> to place this string into the clipboard.


8.    Open Word Pad and paste the string for viewing.  Manually parse this long string into four (4) letter groups by inserting a minus (-) sign between each.


9.    Paste the reference hash string directly below the calculated string and parse these characters in the same manner.


10.   Compare and determine that both hash strings are identical. However if any character is different, the downloaded file is corrupt.