Generate Hash Value
You need to enable the Windows feature update patches that are acquired from the vendor. To enable these patches, you need to provide the SHA256 hash value.
To generate these SHA256 values, you can run the following commands based on the different platforms:
Windows
| Methods Available | Commands |
|---|---|
| Windows Powershell | Get-FileHash -Path "C:\path\file.exe" -Algorithm SHA256 |
| CertUtil (using command prompt) | certutil -hashfile C:\path\file.exe SHA256 |
| Windows Subsystem for Linux (WSL) (using Git Bash) |
sha256sum file.exe |
Linux
| Methods Available (Using Git Bash) | Commands |
|---|---|
| sha256sum | sha256sum file.bin |
| shasum | shasum -a 256 file.bin |
| OpenSSL | openssl dgst -sha256 file.bin |
MacOS
| Methods Available (Using Git Bash) | Commands |
|---|---|
| shasum | shasum -a 256 file.dmg |
| openssl | openssl dgst -sha256 file.dmg |
| Homebrew-installed coreutils | gsha256sum file.dmg |