PSRemotingBaseCmdlet.Session Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The PSSession object describing the remote runspace using which the specified cmdlet operation will be performed.
public:
virtual 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 virtual System.Management.Automation.Runspaces.PSSession[] Session { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="Session", Position=0, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public virtual System.Management.Automation.Runspaces.PSSession[] Session { get; set; }
member this.Session : System.Management.Automation.Runspaces.PSSession[] with get, set
[<System.Management.Automation.Parameter(ParameterSetName="Session", Position=0, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Session : System.Management.Automation.Runspaces.PSSession[] with get, set
Public Overridable Property Session As PSSession()
Property Value
- Attributes