GetModuleCommand.PSSession 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.
If specified, then Get-Module will attempt to discover PowerShell modules on a remote computer using the specified session.
public:
property System::Management::Automation::Runspaces::PSSession ^ PSSession { System::Management::Automation::Runspaces::PSSession ^ get(); void set(System::Management::Automation::Runspaces::PSSession ^ value); };
public System.Management.Automation.Runspaces.PSSession PSSession { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="PsSession")]
[System.Management.Automation.ValidateNotNull]
public System.Management.Automation.Runspaces.PSSession PSSession { get; set; }
member this.PSSession : System.Management.Automation.Runspaces.PSSession with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="PsSession")>]
[<System.Management.Automation.ValidateNotNull>]
member this.PSSession : System.Management.Automation.Runspaces.PSSession with get, set
Public Property PSSession As PSSession
Property Value
- Attributes