Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SHA1 Hash Check of ESD file after download #139

Open
gwblok opened this issue Apr 23, 2024 · 0 comments
Open

SHA1 Hash Check of ESD file after download #139

gwblok opened this issue Apr 23, 2024 · 0 comments

Comments

@gwblok
Copy link
Collaborator

gwblok commented Apr 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant