OSD icon indicating copy to clipboard operation
OSD copied to clipboard

SHA1 Hash Check of ESD file after download

Open gwblok opened this issue 10 months ago • 0 comments

NO ETA

Include error handling if ESD file fails to download. Do a SHA1 Hash check to verify it downloaded properly, and if not, exit with appropriate error message.

Notes: $SHA1Hash = Get-FileHash $ImagePath -Algorithm SHA1 $ESDFile = Get-OSDCloudOperatingSystems -OSArch x64 | (SELECT THE exact OS) ($SHA1Hash.Hash -eq $ESDFile.SHA1)

image

gwblok avatar Apr 23 '24 19:04 gwblok