title: How to tell 'PowerShell' Copy-Item to unconditionally copy files
body: <p>The following PowerShell script works if the resources are not there.</p>
  
  <pre><code>  Copy-Item $src_dir $dst_dir$agent_folder -recurse
  </code></pre>
  
  <p>But if the resources are there, it will say:</p>
  
  <pre><code>+   Copy-Item &lt;&lt;&lt;&lt;  $src_dir $dst_dir$agent_folder -recurse
      + CategoryInfo          : ResourceExists: (C:\Users\Pac\Desktop\Agents\Agent0\lib:S
     tring) [Copy-Item], IOException
      + FullyQualifiedErrorId : DirectoryExist,Microsoft.PowerShell.Commands.CopyItemComm
     and
  </code></pre>
  
  <p>What do I have to add to the command so that it will unconditionally copy the files?</p>