14

Remoting and Remote Management

Windows remoting came to PowerShell with the release of version 2.0. Windows remoting is a powerful feature that allows administrators to move away from RPC-based remote access.

This chapter covers the following topics:

  • Executing remote commands
  • PS Sessions
  • WS-Management
  • Remoting on Linux
  • The double-hop problem
  • CIM sessions
  • Just Enough Administration

The examples in this chapter have additional technical requirements to follow along.

Technical requirements

This chapter makes use of a remote Windows system named PSTest, which runs on Windows 10, Windows PowerShell 5.1, and PowerShell 7.

Remoting between Windows and Linux is demonstrated using a system that runs CentOS 7, PowerShell 7, and the PowerShell Remoting ...

Get Mastering PowerShell Scripting - Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.