Get-Filehash -path c:\downloads\something.exe -algorithm SHA512 | fl
*replace the path with your actual file location. *replace the SHA512 with SHA1, SHA384, SHA512, MACTripleDES, MD5 or RIPEMD160 algorithms if desired. The | fl or format list is pretty important here. Without this final part the SHA512 result is cutoff half way through.