Get-FileHash
[-Path] <String[]>
[[-Algorithm] <String>]
[<CommonParameters>]
PS D:\Downloads> Get-FileHash .\cn_windows_10_enterprise_ltsc_2019_x64_dvd_9c09ff24.iso -Algorithm SHA1 | Format-List
Algorithm : SHA1
Hash : 24B59706D5EDED392423936C82BA5A83596B50CC
Path : D:\Downloads\cn_windows_10_enterprise_ltsc_2019_x64_dvd_9c09ff24.iso
支持的算法:
SHA1, SHA256, SHA384, SHA512, MD5。
引用:
Get-FileHash