Contact Info

Crumbtrail

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

Enter-PSSession - Powershell 2.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
Enter-PSSession [-ComputerName] <string> [-ApplicationName <string>] [-Authentication {Default | Basic | Negotiate 
    | NegotiateWithImplicitCredential | Credssp | Digest | Kerberos}] [-CertificateThumbprint <string>] [-Configuration
    Name <string>] [-Credential <PSCredential>] [-Port <int>] [-SessionOption <PSSessionOption>] [-UseSSL] [<CommonPara
    meters>]
    
    Enter-PSSession [[-Id] <int>] [<CommonParameters>]
    
    Enter-PSSession [-InstanceId <Guid>] [<CommonParameters>]
    
    Enter-PSSession [-Name <string>] [<CommonParameters>]
    
    Enter-PSSession [[-Session] <PSSession>] [<CommonParameters>]
    
    Enter-PSSession [[-ConnectionURI] <Uri>] [-AllowRedirection] [-Authentication {Default | Basic | Negotiate | Negoti
    ateWithImplicitCredential | Credssp | Digest | Kerberos}] [-CertificateThumbprint <string>] [-ConfigurationName <st
    ring>] [-Credential <PSCredential>] [-SessionOption <PSSessionOption>] [<CommonParameters>]

Description
The Enter-PSSession cmdlet starts an interactive session with a single remote computer. During the session, the com
    mands 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 New-PSSession for the interactive session. 
    
    To end the interactive session and disconnect from the remote computer, use the Exit-PSSession cmdlet, or type "exi
    t".