Share via


ImportModuleCommand.CimSession Property

Definition

If specified, then Import-Module will attempt to import PS-CIM modules from a remote computer using the specified session.

public:
 property Microsoft::Management::Infrastructure::CimSession ^ CimSession { Microsoft::Management::Infrastructure::CimSession ^ get(); void set(Microsoft::Management::Infrastructure::CimSession ^ value); };
public Microsoft.Management.Infrastructure.CimSession CimSession { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="CimSession")]
[System.Management.Automation.ValidateNotNull]
public Microsoft.Management.Infrastructure.CimSession CimSession { get; set; }
member this.CimSession : Microsoft.Management.Infrastructure.CimSession with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="CimSession")>]
[<System.Management.Automation.ValidateNotNull>]
member this.CimSession : Microsoft.Management.Infrastructure.CimSession with get, set
Public Property CimSession As CimSession

Property Value

Attributes

Applies to