Skip to content

Instantly share code, notes, and snippets.

@EricTurner3
Created October 24, 2023 02:20
Show Gist options
  • Save EricTurner3/22b734bb22891c62f46107048bcfcf9c to your computer and use it in GitHub Desktop.
Save EricTurner3/22b734bb22891c62f46107048bcfcf9c to your computer and use it in GitHub Desktop.
Powershell One-Liner Generate all File Hashes
Read-Host "Enter full file name and path" | %{Get-FileHash -Algorithm MD5 -Path $_; Get-FileHash -Algorithm SHA1 -Path $_; Get-FileHash -Algorithm SHA256 -Path $_; Get-FileHash -Algorithm SHA384 -Path $_; Get-FileHash -Algorithm SHA512 -Path $_; Get-FileHash -Algorithm MACTripleDES -Path $_; Get-FileHash -Algorithm RIPEMD160 -Path $_;} | Format-List
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment