title: Unable to get output from get-filehash
body: <p>I am looking for a reliable command-line method of getting SHA256 hashes for files in Windows.  My understanding is that the way to do this is via Microsoft's Get-FileHash cmdlet under PowerShell.  I have seen several web sites with examples and reviewed Microsoft's own documentation.  It appears that the following syntax should work on Windows Server 2012:</p>
  
  <pre><code>Get-FileHash myfile.txt -Algorithm SHA256
  </code></pre>
  
  <p>The command runs without error, but there is no output.  If I send the output to a file, the file is created with no content.  I have also seen examples which pipe the output to Format-List; I tried that, but still nothing.  I have also tried running the command with invalid arguments, and again nothing.</p>
  
  <p>I am open to using a different program, but due to business requirements, it would need to be a supported download.</p>