Section courante

A propos

Section administrative du site

Get-PSSession

Demande la session PowerShell
PowerShell

Syntaxe

Get-PSSession [-Name String[]] [CommonParameters]
Get-PSSession [-ComputerName] String[] [-ApplicationName String] [-ConfigurationName String] [-Name String[]] [-Credential PSCredential] [-Authentication AuthenticationMechanism] [-CertificateThumbprint String] [-Port Int32] [-UseSSL] [-ThrottleLimit Int32] [-State SessionFilterState] [-SessionOption PSSessionOption] [CommonParameters]
Get-PSSession [-ComputerName] String[] [-ApplicationName String] [-ConfigurationName String] -InstanceId Guid[] [-Credential PSCredential] [-Authentication AuthenticationMechanism] [-CertificateThumbprint String] [-Port Int32] [-UseSSL] [-ThrottleLimit Int32] [-State SessionFilterState] [-SessionOption PSSessionOption] [CommonParameters]
Get-PSSession [-ConnectionUri] Uri[] [-ConfigurationName String] [-AllowRedirection] [-Name String[]] [-Credential PSCredential] [-Authentication AuthenticationMechanism] [-CertificateThumbprint String] [-ThrottleLimit Int32] [-State SessionFilterState] [-SessionOption PSSessionOption] [CommonParameters]
Get-PSSession [-ConnectionUri] Uri[] [-ConfigurationName String] [-AllowRedirection] -InstanceId Guid[] [-Credential PSCredential] [-Authentication AuthenticationMechanism] [-CertificateThumbprint String] [-ThrottleLimit Int32] [-State SessionFilterState] [-SessionOption PSSessionOption] [CommonParameters]
Get-PSSession [-ConfigurationName String] -InstanceId Guid[] [-State SessionFilterState] -VMName String[] [CommonParameters]
Get-PSSession [-ConfigurationName String] [-Name String[]] [-State SessionFilterState] -ContainerId String[] [CommonParameters]
Get-PSSession [-ConfigurationName String] -InstanceId Guid[] [-State SessionFilterState] -ContainerId String[] [CommonParameters]
Get-PSSession [-ConfigurationName String] [-Name String[]] [-State SessionFilterState] -VMId Guid[] [CommonParameters]
Get-PSSession [-ConfigurationName String] -InstanceId Guid[] [-State SessionFilterState] -VMId Guid[] [CommonParameters]
Get-PSSession [-ConfigurationName String] [-Name String[]] [-State SessionFilterState] -VMName String[] [CommonParameters]
Get-PSSession [-InstanceId Guid[]] [CommonParameters]
Get-PSSession [-Id] Int32[] [CommonParameters]

Description

Cette commande permet de demander les sessions PowerShell sur les ordinateurs locaux et à distances.



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