Contact Info

Crumbtrail

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

Enter-PSSession - Powershell 2.0 CmdLet

Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.

More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.

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".