Gap
Beyond WinRM and SSH, native PowerShell supports several out-of-process transports, all sharing one PSGuid-tagged XML packet protocol (Data/DataAck, Command/CommandAck, Close/CloseAck, Signal/SignalAck). We have none. (pypsrp also lacks these; this is native-C#-only territory.)
This is an umbrella/tracking issue — split into sub-issues when picked up. Depends on the transport abstraction from the SSH issue.
Variants
- stdio / OutOfProc — launch a local
pwsh and speak the packet protocol over its stdin/stdout.
- NamedPipe —
Enter-PSHostProcess style attach to a local PowerShell process via its named pipe.
- Hyper-V (VMBus socket, AF_HYPERV) —
PowerShell Direct into a VM.
- Container — Hyper-V socket or named-pipe fallback into a container.
Required
- Reuse the transport abstraction + out-of-proc packet codec (see SSH issue).
- Implement each transport's connect/spawn + framing.
- Priority order suggestion: stdio/OutOfProc → NamedPipe → Hyper-V → Container.
References
- Native C#
src/System.Management.Automation/engine/remoting/fanin/OutOfProcTransportManager.cs (all variants + packet protocol), RemoteSessionNamedPipe.cs, RemoteSessionHyperVSocket.cs.
Gap
Beyond WinRM and SSH, native PowerShell supports several out-of-process transports, all sharing one PSGuid-tagged XML packet protocol (Data/DataAck, Command/CommandAck, Close/CloseAck, Signal/SignalAck). We have none. (pypsrp also lacks these; this is native-C#-only territory.)
This is an umbrella/tracking issue — split into sub-issues when picked up. Depends on the transport abstraction from the SSH issue.
Variants
pwshand speak the packet protocol over its stdin/stdout.Enter-PSHostProcessstyle attach to a local PowerShell process via its named pipe.PowerShell Directinto a VM.Required
References
src/System.Management.Automation/engine/remoting/fanin/OutOfProcTransportManager.cs(all variants + packet protocol),RemoteSessionNamedPipe.cs,RemoteSessionHyperVSocket.cs.