liveBook · Manning

WinRM

As explained in Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS

WinRM is Microsoft's Windows Remote Management service and protocol for transporting administrative communications between computers and applications.

WinRM is Microsoft's Windows Remote Management service and protocol for carrying administrative communications between computers and applications. It implements WSMan, which communicates over HTTP or HTTPS, using a single port that can pass through firewalls relatively easily. section 13.1.1

WinRM supports remote administration by:

  • Receiving incoming traffic through a listener and dispatching it to the registered administrative application. section 13.4
  • Connecting PowerShell remoting to endpoints, also called session configurations, that can provide different permissions and functionality. section 13.4
  • Supporting administration beyond PowerShell because multiple applications can register endpoints with WinRM. section 13.4
Figure 13.3 The relationship between WinRM, WSMan, endpoints, and PowerShell

Use the architecture figure to connect WSMan transport, the WinRM service, listeners, endpoints, and PowerShell. section 13.4

How Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS covers it

How deep it goes
Explains transport, listeners, dispatching, and endpoints, but defers deeper remoting configuration.
Examples
Uses a WinRM architecture figure and restricted PowerShell endpoints as concrete examples.
What you can do after
Evaluate how WinRM routes administrative traffic and why receiving computers require configuration.
How it connects
Connects WSMan, HTTP, HTTPS, PowerShell remoting, listeners, endpoints, and group policy.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS. The section links point to the parts of the book it draws on.