How to get the hash of a file on Windows

flag Scope

Computing the hash of a file on a Windows machine.

construction How-to

To compute the hash of a file on Windows we can use the Get-FileHash cmdlet on PowerShell.
  1. Open a PowerShell
  2. Execute the following command:
  3. Get-FileHash C:\path\to\file.txt -Algorithm MD5 | Format-List
Where:

school Further considerations





Article ID: SYS-WIN-0006