PSRemotingBaseCmdlet.Session Property

Definition

The PSSession object describing the remote runspace using which the specified cmdlet operation will be performed.

C++
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); };

Property Value

Attributes

Applies to

Produto Versións
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0