Repository navigation
Closed
Labels
Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreSize-MultipleWeeksWG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer
Description
Expected SSH to be on par or faster than WSMan as we no longer have to deal with SOAP/XML encoding
PS C:\> $script = [scriptblock]::Create("(1..10000) | % { [pscustomobject]@{name=`$_;version=`$PSVersionTable}}")
PS C:\> $ubuntu # running as VM on same client machine
Id Name ComputerName ComputerType State ConfigurationName Availability
-- ---- ------------ ------------ ----- ----------------- ------------
12 SSH12 slee-ubuntu16a RemoteMachine Opened DefaultShell Available
PS C:\> $ssh
Id Name ComputerName ComputerType State ConfigurationName Availability
-- ---- ------------ ------------ ----- ----------------- ------------
13 SSH13 slee-thinkpad RemoteMachine Opened DefaultShell Available
PS C:\> $wsman
Id Name ComputerName ComputerType State ConfigurationName Availability
-- ---- ------------ ------------ ----- ----------------- ------------
14 WinRM14 slee-thinkpad RemoteMachine Opened Microsoft.PowerShell Available
PS C:\> (measure-command {invoke-command -session $ubuntu -scriptblock $script }).totalmilliseconds
9862.1602
PS C:\> (measure-command {invoke-command -session $ssh -scriptblock $script }).totalmilliseconds
8779.3777
PS C:\> (measure-command {invoke-command -session $wsman -scriptblock $script }).totalmilliseconds
5029.1733Name Value
---- -----
PSEdition Core
BuildVersion 3.0.0.0
WSManStackVersion 3.0
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
CLRVersion
PSVersion 6.0.0-alpha
SerializationVersion 1.1.0.1
GitCommitId v6.0.0-alpha.13-27-g9c9b56d22f81c449893cc4a93ef2b9075cdcf43cMetadata
Metadata
Assignees
Labels
Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreSize-MultipleWeeksWG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer
Activity
PaulHigin commentedon Mar 22, 2017
Un-assigning since this is not beta1 work.
8 remaining items
SteveL-MSFT commentedon Sep 18, 2017
The current code is built around base64 encoding which is not necessary for SSH. The changes will be intensive to avoid breaking WSMan remoting.
SteveL-MSFT commentedon Jun 21, 2018
We should also consider a binary serializer than using the current xml serializer
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.