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>
Alternative of powershell is certutil.exe:
C:\Windows\System32>certutil.exe -hashfile "file path" SHA256
C:\Windows\System32>certutil.exe -hashfile OptionalFeatures.exe SHA256
Avi
Comments
Post a Comment