Add-Type -AssemblyName System.Windows.Forms; $openFileDialog = New-Object System.Windows.Forms.OpenFileDialog; $openFileDialog.Filter = 'ISO Files (*.iso)|*.iso'; if ($openFileDialog.ShowDialog() -eq 'OK') {$isoPath = $openFileDialog.FileName; $hashValue = Get-FileHash -Path $isoPath -Algorithm SHA256; Write-Host "Selected ISO File: $($isoPath)"; Write-Host "Hash Value: $($hashValue.Hash)";} else {Write-Host "ISO file not selected!"}
/Finding, Checking and Verifying the SHA256 Checksum Hash of the Selected ISO File with Powershell.md
Last active
July 31, 2024 17:17
Finding, Checking and Verifying the SHA256 Checksum Hash of the Selected ISO File with Powershell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment