{"id":463,"date":"2025-03-16T01:21:05","date_gmt":"2025-03-16T00:21:05","guid":{"rendered":"https:\/\/www.emperial.dk\/?p=463"},"modified":"2025-03-16T01:21:15","modified_gmt":"2025-03-16T00:21:15","slug":"checksum-check-of-files-with-windows-powershell","status":"publish","type":"post","link":"https:\/\/www.emperial.dk\/?p=463","title":{"rendered":"Checksum check of files with Windows Powershell"},"content":{"rendered":"<p>the simple solution without having to install anything is to use certutil from Powershell<\/p>\n<pre><code class=\"bd34344e84\">certutil -hashfile &lt;file&gt; SHA256<\/code><\/pre>\n<p>certutil support the following hash algorithms: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512.<\/p>\n<p>example (iLO4 firmware file for HP Proliant Server):<\/p>\n<pre>PS D:\\DL380Gen9\\iLO&gt; certutil -hashfile cp053895.exe SHA256\r\nSHA256 hash of cp053895.exe:\r\n3a35573541ce44e6fadde844a0d2cb31a5bae2a55e701e2ce9d3e77c61c01d5e\r\nCertUtil: -hashfile command completed successfully.\r\nPS D:\\DL380Gen9\\iLO&gt;<\/pre>\n<p>the corrosponding value from HP says that it should be (SHA-256 Checksum):<\/p>\n<p>3a35573541ce44e6fadde844a0d2cb31a5bae2a55e701e2ce9d3e77c61c01d5e<\/p>\n<p>This is a simple way to verify that the files you downloaded or got is acctualy the real deal.<\/p>\n<p>see more here: <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-server\/administration\/windows-commands\/certutil\" target=\"_blank\" rel=\"noopener\">https:\/\/learn.microsoft.com\/en-us\/windows-server\/administration\/windows-commands\/certutil<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>the simple solution without having to install anything is to use certutil from Powershell certutil -hashfile &lt;file&gt; SHA256 certutil support the following hash algorithms: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512. example (iLO4 firmware file for HP Proliant Server): PS &hellip; <a href=\"https:\/\/www.emperial.dk\/?p=463\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,5],"tags":[],"class_list":["post-463","post","type-post","status-publish","format-standard","hentry","category-computers","category-windows"],"_links":{"self":[{"href":"https:\/\/www.emperial.dk\/index.php?rest_route=\/wp\/v2\/posts\/463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.emperial.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.emperial.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.emperial.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.emperial.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=463"}],"version-history":[{"count":3,"href":"https:\/\/www.emperial.dk\/index.php?rest_route=\/wp\/v2\/posts\/463\/revisions"}],"predecessor-version":[{"id":466,"href":"https:\/\/www.emperial.dk\/index.php?rest_route=\/wp\/v2\/posts\/463\/revisions\/466"}],"wp:attachment":[{"href":"https:\/\/www.emperial.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.emperial.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.emperial.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}