{"id":9039,"date":"2022-01-02T00:41:18","date_gmt":"2022-01-02T00:41:18","guid":{"rendered":"http:\/\/putridparrot.com\/blog\/?p=9039"},"modified":"2022-01-02T00:41:18","modified_gmt":"2022-01-02T00:41:18","slug":"using-powershell-to-get-a-file-hash","status":"publish","type":"post","link":"https:\/\/putridparrot.com\/blog\/using-powershell-to-get-a-file-hash\/","title":{"rendered":"Using Powershell to get a file hash"},"content":{"rendered":"<p>If you want to check a get the hash for a file (for checking your downloads or generating the hash), you can use the following Powershell command<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nGet-FileHash .\\yourfile.exe\r\n<\/pre>\n<p>In this example the default <em>SHA256<\/em> algorithm is used against some file named <em>yourfile.exe<\/em> (in this example). <\/p>\n<p>You can change the algorithm use by supply the <em>-Algorithm<\/em> switch with any of the following values <em>SHA1, SHA256, SHA384, SHA512, MACTrippleDES, MD5 and RIPEMD160<\/em>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to check a get the hash for a file (for checking your downloads or generating the hash), you can use the following Powershell command Get-FileHash .\\yourfile.exe In this example the default SHA256 algorithm is used against some file named yourfile.exe (in this example). You can change the algorithm use by supply the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[118],"tags":[],"class_list":["post-9039","post","type-post","status-publish","format-standard","hentry","category-powershell"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/9039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/comments?post=9039"}],"version-history":[{"count":2,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/9039\/revisions"}],"predecessor-version":[{"id":9041,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/9039\/revisions\/9041"}],"wp:attachment":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/media?parent=9039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/categories?post=9039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/tags?post=9039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}