Skip to content

Checksum Comparison

  1. Open PowerShell
  2. Type Get-FileHash
  3. Enter file location
  4. Choose options (see below)

Example:

Get-FileHash C:/Users/directory/file.exe | Format-List

Algorithm : SHA256
Hash      : 3CBCFDDEC145E3382D592266BE193E5BE53443138EE6AB6CA09FF20DF609E268
Path      : C:/Users/directory/file.exe

Options

Set Algorithm

Get-FileHash C:/Users/directory/file.exe -Algorithm SHA384 | Format-List

Algorithm : SHA384
Hash      : 20AB1C2EE19FC96A7C66E33917D191A24E3CE9DAC99DB7C786ACCE31E559144FEAFC695C58E508E2EBBC9D3C96F21FA3
Path      : C:/Users/directory/file.exe

Options for -Algorithm: - SHA1 - SHA256 - SHA384 - SHA512 - MD5

(defaults to SHA256 if no -Algorithm parameter specified)