Partilhar via


GetModuleCommand.CimSession Property

Definition

If specified, then Get-Module will attempt to discover PS-CIM modules on 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