WS-Management
Windows remoting uses WS-Management as its communication protocol. Support for WS-Management
and remoting was introduced with PowerShell 2.0. WS-Management uses Simple Object Access Protocol (SOAP) to pass information between the client and the server.
PowerShell Remoting Protocol (PSRP) uses WS-Management
as a means of communicating with a remote PowerShell instance.
Enabling and configuring remoting
Before remoting can be used on a desktop operating system, it must be enabled. In a domain environment, remoting can be enabled using a group policy:
- Policy name: Allow remote server management through
WinRM
Path
: Computer configuration\Administrative Templates\Windows Components\Windows Remote Management (WinRM)\WinRM Service
If remoting is enabled using a group policy, a firewall rule should be created to allow access to the service:
- Policy name: Define inbound port exceptions
- Path:
Computer Configuration\Administrative...