Get-Hash for files or strings

MD5, SHA1, SHA256, SHA384, SHA512 or RIPEMD160… all are options with this function.
On the internet you can find lots of scripts that get the hashes, but none for both strings and files.
To that end, I’ve written the following function, to have one Get-Hash to be used in both cases.


  1. Mad Tom Vane says:

    Use this with my picture un-duplicator.

  2. Jeff Wouters says:

    Got a link? Share! 😀

Leave a Reply

Your email address will not be published. Required fields are marked *