title: Powershell: automated process to copy files and compare hash
body: <p>I have a job to do that requires me to create an automated process where I am to</p>
  
  <ol>
  <li>FolderA files---- <code>Get-Filehash -algorithm MD5 &gt; c:\test\Axxx.txt</code></li>
  <li>copy files from FolderA to FolderB</li>
  <li>FolderB files---- <code>Get-Filehash -algorithm MD5 &gt; c:\test\Bxxx.txt</code></li>
  <li>compare the differences of the hash in both text files(same location)</li>
  <li>No difference, operation completed</li>
  <li>Yes difference, popup to show difference</li>
  </ol>
  
  <p>I am stuck with all the cmdlets..it's too difficult to uds! but I am still trying to learn PS.</p>