title: powershell remoting: very slow
body: <p>If I ssh from a solaris Server to a US server, the ssh connection is very fast, such as delete a file can complete very soon.</p>
  
  <p>But why powershell remoting is so slowing, after I entered the remote session, and then remove an item, it takes more than 10 seconds to complete.</p>
  
  <pre><code>Enter-PSSession -computerName test
  remove-item 'C:\20010101.xls' 
  </code></pre>
  
  <p>running the following command also takess more than 5 seconds.</p>
  
  <pre><code>[Environment]::UserDomainName + "\" + [Environment]::UserName+" on"+[Environment]::MachineName
  </code></pre>
  
  <p>One of the reason I am using remoting is that remote desktop connection is slow as it has to transfer large amount of data from the server to local. And for remoting, I am hoping it only transfer text which is very little amount of data so I expect it will be much faster than remote desktop connection. But the fact is that it is also very slow. </p>
  
  <p>Any way to enhance performance, or find out where most of the time goes to?</p>