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.
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 providing authenticated and encrypted remote access, command execution, and data transfer over untrusted networks.
- one-to-one remotingincludes · One-to-one remoting is an interactive remoting mode that provides a shell session on a single remote computer.
- Invoke-Commandused by · Invoke-Command is a PowerShell cmdlet that runs commands or scripts on local or remote computers.
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.

