ConnectPSSessionCommand.Session Property

Definition

The PSSession object or objects to be connected.

public:
 property cli::array <System::Management::Automation::Runspaces::PSSession ^> ^ Session { cli::array <System::Management::Automation::Runspaces::PSSession ^> ^ get(); void set(cli::array <System::Management::Automation::Runspaces::PSSession ^> ^ value); };
public System.Management.Automation.Runspaces.PSSession[] Session { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="Session", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public System.Management.Automation.Runspaces.PSSession[] Session { get; set; }
member this.Session : System.Management.Automation.Runspaces.PSSession[] with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="Session", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Session : System.Management.Automation.Runspaces.PSSession[] with get, set
Public Property Session As PSSession()

Property Value

Attributes

Applies to