Robocopy is not working in PowerShell
<p>I am trying to run a robocopy script in PowerShell so I can insert it into my other PowerShell script:</p>

<pre><code>$SERVERPATH = "E:\Cisco Config Backups"
$NETWORKPATH = "\\SERVER\Cisco Config Backups"
robocopy $SERVERPATH $NETWORKPATH /E /XC /XN /XO /R:0 /W:0 /COPY:T /LOG:C:\logs\robocopy_logs\config_copy.log /TEE /NP
</code></pre>

<p>However when I run this code I see robocopy working where it gives me the following output:
      ROBOCOPY     ::     Robust File Copy for Windows                              </p>

<pre><code>  Started : Thursday, June 30, 2016 1:52:56 PM
  Source : E:\Cisco Config Backups
  Dest : \\SERVER\Cisco Config Backups

  Files : *.*

  Options : *.* /TEE /S /E /DCOPY:D /COPY:T /NP /XO /XN /XC /R:0 /W:0 
</code></pre>

<p>But nothing gets copied over, I want to use robocopy for the logging and so I can have it skip files that already exist.</p>

<p>Please let me know if I am doing anything wrong.</p>