Open a Remote Shell With Enter-PSSession
Work inside a remote PowerShell session as if you were logged in there.
01Command
$ Enter-PSSession -ComputerName server0102What it does
Enter-PSSession gives a full interactive prompt on the remote host over WinRM, with tab completion and objects intact, which avoids RDP for quick checks. It is a natural terminal capability that remote desktop tools only approximate with much heavier sessions.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Enter-PSSessionEvidence: Starts an interactive session with a remote computer.
Last verified: 2026-10-13 · Category: System & Settings
06Related solutions
The nuclear option for broken connectivity: rebuild Winsock and the TCP/IP stack to defaults when adapters show 'no internet' despite everything else working.
A built-in PowerShell one-liner that answers 'is port 5432/3389/443 actually open through this network?' — no telnet client needed.
Configure a fixed IPv4 address, subnet mask and default gateway on any adapter in one line — essential for headless servers and remote workstations.