PowerShell Remoting Internals
summary
Explains actual internals of PowerShell remoting: WinRM, SSH in PSCore6, PowerShell Direct via Hyper‑V sockets, local IPC and out‑of‑proc remoting, and the remoting protocol (MS‑PSRP). Shows API calls that create runspaces and runspaceConnectionInfo, demos a namepipe connection to PID 12700 and opens it, and demonstrates object serialization returning a deserialized Process object (not a live Process). Notes SSH demo fails to connect here and details how sessions, command encoding, and cleanup actually work.
AI-written summary · about
chapters (22)
- 0:00Start
- 0:53Agenda
- 2:25What Is Powershell Remoting
- 3:32Remote Script Debugging
- 5:31Ipc or Inner Process Communication Remoting
- 6:05Powershell Direct
- 7:25How Does powershell Remoting Work
- 11:37Powershell Class
- 12:21Object Serialization
- 13:29Powershell Console Session
- 14:12Static Create Function on a Powershell Class
- 18:08Run Space Connection Info Object
- 19:14Local Ipc Connection
- 19:45Namepipe Connection Info
- 24:36Serialization
- 27:00Powershell Promoting Protocol
- 27:37Recap
- 31:38Ssh Transport
- 33:00Powershell Remoting Protocol Data Packets
- 37:09Host Calls
- 41:02Summary
- 41:35In Powershell 7 Will There Be Endpoint Configuration Support for Ssh








