Chapter 29. Remoting
29.0 Introduction
PowerShellâs support for local and interactive computer automation makes it a very attractive platform for computer management and administration. Its rich, object-flavored perspective takes even the simplest of management tasks to the next level.
While PowerShell supports interaction with traditional remoting technologies (SSH, FTP, Telnet, PsExec, and more), that support is fairly equivalent to that offered by any other shell. Where PowerShellâs remote management really takes off is, unsurprisingly, through its unique object-based approach.
Of course, any feature that provides remote access to your systems should be viewed with a cautious eye. Security is a natural concern with any technology that supports network connections, and is something that PowerShell Remoting takes very seriously. In addition, ubiquitous support for remote headless management across your entire enterprise is a core value that any sane server platform offers. How does Windows Server ensure that both hold true? As of PowerShell version 3, PowerShell Remoting is enabled by default for most common remote management scenarios:
-
On desktop machines (i.e., Windows 10 client), PowerShell does not listen to network connections by default and must be explicitly activated.
-
On untrusted networks (i.e., a server that accepts connections from the internet), PowerShell listens only to network connections that originate from that same subnet. Machines on the same subnet ...
Get PowerShell Cookbook, 4th 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.