Reader small image

You're reading from  Mastering PowerShell Scripting - Fourth Edition

Product typeBook
Published inJun 2021
PublisherPackt
ISBN-139781800206540
Edition4th Edition
Right arrow
Author (1)
Chris Dent
Chris Dent
author image
Chris Dent

Chris Dent is an automation specialist with deep expertise in the PowerShell language. Chris is often found answering questions about PowerShell in both the UK and virtual PowerShell user groups. Chris has been developing in PowerShell since 2007 and has released several modules over the years.
Read more about Chris Dent

Right arrow

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 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 Templates...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerShell Scripting - Fourth Edition
Published in: Jun 2021Publisher: PacktISBN-13: 9781800206540

Author (1)

author image
Chris Dent

Chris Dent is an automation specialist with deep expertise in the PowerShell language. Chris is often found answering questions about PowerShell in both the UK and virtual PowerShell user groups. Chris has been developing in PowerShell since 2007 and has released several modules over the years.
Read more about Chris Dent