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.
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.
Enter-PSSession -computerName test
remove-item 'C:\20010101.xls'
running the following command also takess more than 5 seconds.
[Environment]::UserDomainName + "\" + [Environment]::UserName+" on"+[Environment]::MachineName
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.
Any way to enhance performance, or find out where most of the time goes to?