Enter-PSSession
CautionInteractive remote session
Enter-PSSession -ComputerName <host>
Interactive remoting — the Windows SSH. Type exit to leave. Lightweight alternative to RDP.
Examples
Enter-PSSession -ComputerName srv01Open a remote session
Syntax
Enter-PSSession -ComputerName <host> [-Credential cred]
Before you run it
Remote commands hit like local ones.
Related commands
- Invoke-CommandRun commands remotely
- sshRemote shell
- mstscRemote Desktop client
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store