title: Powershell script for comparing two directories based on file names only
body: <p>I have two disks which has the same directory structure. <code>C:\Files</code> and <code>D:\Files</code></p>
  
  <p>Both <code>C:\Files</code> and <code>D:\Files</code> have multiple directories under them but have the same name etc, but the files inside them differ in extension. In <code>C:\Files</code> they are <code>*.csv</code> and in <code>D:\Files</code>, a process monitors the files (copied from <code>C:\</code>) and once it is done changes the files to <code>*.processed</code>.</p>
  
  <p>I want a script that would do that copy. I.e copy files from <code>C:\Files</code> to <code>D:\Files</code> which have not been processed by comparing only the file names.</p>