title: PowerShell Invoke-Command performance issue
body: <p>There are a few computers on my domain that I have access to remote into with PowerShell. I'm getting extremely slow performance when I remote into a particular computer with a command like this:</p>
  
  <pre><code>Invoke-Command -ComputerName someComputerName -ScriptBlock { ls C:\ } -credential myUsername
  </code></pre>
  
  <p>It takes about 10 seconds to display each file/folder on the drive. If I run the same command from within a session using Enter-PSSession then there are no performance issues. Also if I run a command like Get-Alias with Invoke-Command there are no performance issues. Lastly I can run any command on any other computer without any performance issues.</p>
  
  <p>Any idea what could be causing this?
  Thanks!</p>