Contact Info

Crumbtrail

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

Enter-PSSession - Powershell 3.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 command
s that you type run on the remote computer, just as though you were typing directly on the remote computer. You can hav
e 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 s
ession that you create by using the New-PSSession cmdlet for the interactive session. However, you cannot use the Disco
nnect-PSSession, Connect-PSSession, or Receive-PSSession cmdlets to disconnect from or re-connect to an interactive ses
sion.


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