To get the MD5 hash of a file run the following command in powershell: get-filehash -algorithm md5 <filename> Similarly, to get the SHA1 hash run: get-filehash -algorithm sha1 <filename> If you just need the hash value output: (get-filehash -algorithm md5 <filename>).Hash