Section courante

A propos

Section administrative du site

New-PSSession

Nouvelle session PowerShell
PowerShell

Syntaxe

New-PSSession [[-ComputerName] String[]] [-Credential PSCredential] [-Name String[]] [-EnableNetworkAccess] [-ConfigurationName String] [-Port Int32] [-UseSSL] [-ApplicationName String] [-ThrottleLimit Int32] [-SessionOption PSSessionOption] [-Authentication AuthenticationMechanism] [-CertificateThumbprint String] [CommonParameters]
New-PSSession [-Credential PSCredential] [-Name String[]] [-EnableNetworkAccess] [-ConfigurationName String] [-ThrottleLimit Int32] [-ConnectionUri] Uri[] [-AllowRedirection] [-SessionOption PSSessionOption] [-Authentication AuthenticationMechanism] [-CertificateThumbprint String] [CommonParameters]
New-PSSession -Credential PSCredential [-Name String[]] [-ConfigurationName String] [-VMId] Guid[] [-ThrottleLimit Int32] [CommonParameters]
New-PSSession -Credential PSCredential [-Name String[]] [-ConfigurationName String] -VMName String[] [-ThrottleLimit Int32] [CommonParameters]
New-PSSession [[-Session] PSSession[]] [-Name String[]] [-EnableNetworkAccess] [-ThrottleLimit Int32] [CommonParameters]
New-PSSession [-Name String[]] [-ConfigurationName String] -ContainerId String[] [-RunAsAdministrator] [-ThrottleLimit Int32] [CommonParameters]
New-PSSession [-Name String[]] [-UseWindowsPowerShell] [CommonParameters]
New-PSSession [-Name String[]] [-Port Int32] [-HostName] String[] [-UserName String] [-KeyFilePath String] [-SSHTransport] [-Subsystem String] [CommonParameters]
New-PSSession [-Name String[]] -SSHConnection Hashtable[] [CommonParameters]

Description

Cette commande permet de créer une connexion persistante à un ordinateur local ou à distance.



Dernière mise à jour : Jeudi, le 14 Janvier 2021