OSD
OSD copied to clipboard
SHA1 Hash Check of ESD file after download
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)