Remoting
Remoting is the execution of commands or management operations on a computer, device, or service over a network connection.
Practical Automation with PowerShell: Effective scripting from the console to the cloud
SSH remoting is a PowerShell capability for executing commands and scripts on remote computers through SSH.
- How it is used
- Enables centrally controlled commands and scripts across remote servers, especially in mixed or non-Active Directory environments.
- How deep it goes
- Explains protocol selection, session parameters, port checks, noninteractive configuration, and reusable dual-protocol control scripts.
- Examples
- Uses a cross-platform VS Code extension inventory and a control script that selects WSMan or SSH by reachable port.
- What you can do after
- Apply it via New-PSSession and Invoke-Command to automate noninteractive remote work while handling protocol and connection failures.
Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS
Remoting is the execution of commands or management operations on a computer or service over a network connection.
- How it is used
- Enables interactive administration, multi-computer commands, and distributed background work from PowerShell.
- How deep it goes
- Explains remote execution, session types, protocols, jobs, and common invocation behavior, while deferring detailed configuration and troubleshooting.
- Examples
- Uses Enter-PSSession, Invoke-Command, remote process and file queries, PSVersion inspection, and a multi-computer job.
- What you can do after
- Operate remote computers interactively, run commands across targets, and distribute long-running work as jobs.
Also covered in
- Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools
- Acing the CCNA Exam: Volume 2 Advanced Networking and Security
What to know first
- SSHSSH is a cryptographic network protocol that provides authenticated, encrypted remote access and other secure network services.
- WinRMWinRM is Microsoft's implementation of the WS-Management protocol and service for remotely managing Windows computers.
Related concepts
- Enable-PSRemotingconfigured by · Enable-PSRemoting is a PowerShell cmdlet that enables and configures a computer to receive remote PowerShell connections.
- SSHuses · SSH is a cryptographic network protocol that provides authenticated, encrypted remote access and other secure network services.
- Invoke-Commandused by · Invoke-Command is a PowerShell cmdlet that runs commands or scripts on local or remote computers.
- one-to-one remotingincludes · One-to-one remoting is an interactive remoting mode that provides a shell session on a single remote computer.
Questions about remoting
What is remoting?
Remoting is the execution of commands or management operations on a computer, device, or service over a network connection.
Which Manning books explain remoting?
Practical Automation with PowerShell: Effective scripting from the console to the cloud and Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS.
What should I know before learning remoting?
Manning books that teach remoting usually introduce SSH and WinRM first.
What kinds of remoting are there?
Kinds of remoting include one-to-many remoting and one-to-one remoting.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

