Getting file hash in powershell December 23, 2022 In windows powershell, give the following command: Format: Get-FileHash <filename> -Algorithm SHA256 | Format-List Example: Get-FileHash C:\Users\user1\Downloads\Contoso8_1_ENT.iso -Algorithm SHA256 | Format-List In linux: sha1sum <filename> Read more