title: Copy-Item: Illegal characters in path
body: <p>I'm trying to create a powershell script that will copy files from a source to the same path on multiple destination machines.  I found this on the web and have pointed toward my test data, however, I continue to receive the following error (for each system it finds in the pc_list.txt).</p>
  
  <p>Script:</p>
  
  <pre><code>$Computers = gc "C:\Temp\Script\PC_List.txt"
  $Source = "C:\Temp\Script\AAAAA.txt"
  $Destination = "C$\Temp\"
  foreach ($Computer in $Computers) {
      Copy-Item -Path $Source -Destination "\\$Computer\$Destination\" -Recurse
  } 
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Copy-Item : Illegal characters in path.
  At line:4 char:36
      + ... Computers) {Copy-Item $Source -Destination "\\$Computer\$Destination\ ...
  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo          : NotSpecified: (:) [Copy-Item], ArgumentException
  + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.CopyItemCommand
  </code></pre>
  
  <p>PC Names in PC_List.txt:</p>
  
  <pre><code>DEPT-PC1
  DEPT-PC2
  DEPT-PC3
  </code></pre>
  
  <p>Can someone point me in the right direction?</p>