hash a file in powershell code example
Example: powershell check iso sha256sum
(Get-FileHash .\pop-os_19.04_amd64_intel_10.iso -Algorithm SHA256).Hash.ToUpper() -eq "7e228c2928a046b86b5da07f3aa628052dfe9b12fcbde24a3c50f84f06b84cec".ToUpper()
(Get-FileHash .\pop-os_19.04_amd64_intel_10.iso -Algorithm SHA256).Hash.ToUpper() -eq "7e228c2928a046b86b5da07f3aa628052dfe9b12fcbde24a3c50f84f06b84cec".ToUpper()