It is often a good idea to verify the file hashes of downloaded files, whether it is to detect that the file you download was actually the one that the developers intended (see what happened to Handbrake for OSX) or to detect corruption of a download.
Normally on Windows you’d have to download one of the many hashing programs available online.
But did you know that PowerShell can compute hashes for you?
This is done using the Get-FileHash cmdlet.
Which works like so…
But what if you want the MD5 hash?
These are the supported algorithms
The first two are fully supported for legacy reasons.