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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store