Calculate a hash for a file. Note: This command can only be used through PowerShell. More information: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/get-filehash.
Get-FileHash path\to\file
Get-FileHash path\to\file -Algorithm SHA1|SHA384|SHA256|SHA512|MD5