ImportModuleCommand.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 Import-Module will attempt to import PowerShell modules from 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="FullyQualifiedNameAndPSSession")]
[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="FullyQualifiedNameAndPSSession")>]
[<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