GetCimClassCommand.CimSession Property
Gets and sets the CimSession parameter, which specifies the CIM session in which to run the cmdlet. The default is the current session on the local computer.
Namespace: Microsoft.Management.Infrastructure.CimCmdlets
Assembly: Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)
Syntax
[ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
ParameterSetName = "SessionSet")]
public CimSession[] CimSession { get; set; }
public:
[ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
ParameterSetName = "SessionSet")]
property array<CimSession^>^ CimSession {
array<CimSession^>^ get();
void set(array<CimSession^>^ value);
}
[<ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
ParameterSetName = "SessionSet")>]
member CimSession : CimSession[] with get, set
<ParameterAttribute(Mandatory := True, ValueFromPipeline := True,
ParameterSetName := "SessionSet")>
Public Property CimSession As CimSession()
Property Value
Type: Microsoft.Management.Infrastructure.CimSession[]
Returns CimSession.
See Also
GetCimClassCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace
Return to top