Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Enter-PSSession

Enter-PSSession - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Enter-PSSession

Short description
Starts an interactive session with a remote computer.

Syntax


Description
The Enter-PSSession cmdlet starts an interactive session with a single remote computer. During the session, the 
commands that you type run on the remote computer, just as though you were typing directly on the remote computer. You 
can have only one interactive session at a time.


Typically, you use the ComputerName parameter to specify the name of the remote computer. However, you can also use a 
session that you create by using the New-PSSession cmdlet for the interactive session. However, you cannot use the 
Disconnect-PSSession, Connect-PSSession, or Receive-PSSession cmdlets to disconnect from or re-connect to an 
interactive session.


To end the interactive session and disconnect from the remote computer, use the Exit-PSSession cmdlet, or type "exit".