Share via


GetCimClassCommand Class

 

A class which enables the user to enumerate the CIM classes under a specific namespace.

Namespace:   Microsoft.Management.Infrastructure.CimCmdlets
Assembly:  Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)

Inheritance Hierarchy

System.Object
  System.Management.Automation.Internal.InternalCommand
    System.Management.Automation.Cmdlet
      Microsoft.Management.Infrastructure.CimCmdlets.CimBaseCommand
        Microsoft.Management.Infrastructure.CimCmdlets.GetCimClassCommand

Syntax

[CmdletAttribute("Get", "CimClass", DefaultParameterSetName = "ComputerSet", 
    HelpUri = "https://go.microsoft.com/fwlink/?LinkId=227959")]
[OutputTypeAttribute(new Type[] { ... })]
public class GetCimClassCommand : CimBaseCommand
[CmdletAttribute("Get", "CimClass", DefaultParameterSetName = "ComputerSet", 
    HelpUri = "https://go.microsoft.com/fwlink/?LinkId=227959")]
[OutputTypeAttribute(new array<Type^>^ { ... })]
public ref class GetCimClassCommand : CimBaseCommand
[<CmdletAttribute("Get", "CimClass", DefaultParameterSetName = "ComputerSet",
    HelpUri = "https://go.microsoft.com/fwlink/?LinkId=227959")>]
[<OutputTypeAttribute([| ... |])>]
type GetCimClassCommand = 
    class
        inherit CimBaseCommand
    end
<CmdletAttribute("Get", "CimClass", DefaultParameterSetName := "ComputerSet",
    HelpUri := "https://go.microsoft.com/fwlink/?LinkId=227959")>
<OutputTypeAttribute(New Type() { ... })>
Public Class GetCimClassCommand
    Inherits CimBaseCommand

Constructors

Name Description
System_CAPS_pubmethod GetCimClassCommand()

Constructor for a class that enables the user to enumerate the list of CIM classes under a specific namespace.

Properties

Name Description
System_CAPS_pubproperty CimSession

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.

System_CAPS_pubproperty ClassName

Gets and sets the ClassName parameter. Accepts wildcard characters.

System_CAPS_pubproperty CommandOrigin

(Inherited from InternalCommand.)

System_CAPS_pubproperty CommandRuntime

(Inherited from Cmdlet.)

System_CAPS_pubproperty ComputerName

Gets and sets the ComputerName parameter. This parameter provides the name of the computer from which to retrieve the CimClass. If no computer name is specified the default value is the local host.

System_CAPS_pubproperty CurrentPSTransaction

(Inherited from Cmdlet.)

System_CAPS_pubproperty MethodName

Gets and sets the MethodName parameter, which may contain wild characters.

System_CAPS_pubproperty Namespace

Gets and sets the Namespace parameter, which specifies the namespace under which to look for the specified class name. If no class name is specified, the cmdlet will return all classes under the specified namespace. The default value for the namespace is root\cimv2.

System_CAPS_pubproperty OperationTimeoutSec

Gets and sets the OperationTimeoutSec parameter, which enables the user to specify the operation timeout in seconds. This value overwrites the value specified by the CimSession operation timeout.

System_CAPS_pubproperty PropertyName

Gets and sets the PropertyName parameter, which may contain wildcard characters.

System_CAPS_pubproperty QualifierName

Gets and sets the QualifierName parameter, which may contain wildcard characters.

System_CAPS_pubproperty Stopping

(Inherited from Cmdlet.)

Methods

Name Description
System_CAPS_protmethod BeginProcessing()

BeginProcessing method.(Overrides Cmdlet.BeginProcessing().)

System_CAPS_pubmethod Dispose()

Releases resources.(Inherited from CimBaseCommand.)

System_CAPS_protmethod Dispose(Boolean)

Releases resources.(Inherited from CimBaseCommand.)

System_CAPS_protmethod DisposeInternal()

Disposes of all managed and unmanaged resources.(Inherited from CimBaseCommand.)

System_CAPS_protmethod EndProcessing()

EndProcessing method.(Overrides Cmdlet.EndProcessing().)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetResourceString(String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Invoke()

(Inherited from Cmdlet.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod ProcessRecord()

ProcessRecord method.(Overrides Cmdlet.ProcessRecord().)

System_CAPS_pubmethod ShouldContinue(String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldContinue(String, String, Boolean, Boolean, Boolean)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldContinue(String, String, Boolean, Boolean)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String, String, String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ShouldProcess(String, String, String, ShouldProcessReason)

(Inherited from Cmdlet.)

System_CAPS_protmethod StopProcessing()

StopProcessing method.(Inherited from CimBaseCommand.)

System_CAPS_pubmethod ThrowTerminatingError(ErrorRecord)

(Inherited from Cmdlet.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TransactionAvailable()

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteCommandDetail(String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteDebug(String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteError(ErrorRecord)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteInformation(InformationRecord)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteInformation(Object, String[])

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteObject(Object)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteObject(Object, Boolean)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteProgress(ProgressRecord)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteVerbose(String)

(Inherited from Cmdlet.)

System_CAPS_pubmethod WriteWarning(String)

(Inherited from Cmdlet.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top