CimBaseCommand Class

 

This is the base command for all CIM cmdlets.

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.GetCimAssociatedInstanceCommand
        Microsoft.Management.Infrastructure.CimCmdlets.GetCimClassCommand
        Microsoft.Management.Infrastructure.CimCmdlets.GetCimInstanceCommand
        Microsoft.Management.Infrastructure.CimCmdlets.GetCimSessionCommand
        Microsoft.Management.Infrastructure.CimCmdlets.InvokeCimMethodCommand
        Microsoft.Management.Infrastructure.CimCmdlets.NewCimInstanceCommand
        Microsoft.Management.Infrastructure.CimCmdlets.NewCimSessionCommand
        Microsoft.Management.Infrastructure.CimCmdlets.NewCimSessionOptionCommand
        Microsoft.Management.Infrastructure.CimCmdlets.RemoveCimInstanceCommand
        Microsoft.Management.Infrastructure.CimCmdlets.RemoveCimSessionCommand
        Microsoft.Management.Infrastructure.CimCmdlets.SetCimInstanceCommand

Syntax

public class CimBaseCommand : Cmdlet, IDisposable
public ref class CimBaseCommand : Cmdlet, IDisposable
type CimBaseCommand = 
    class
        inherit Cmdlet
        interface IDisposable
    end
Public Class CimBaseCommand
    Inherits Cmdlet
    Implements IDisposable

Properties

Name Description
System_CAPS_pubproperty CommandOrigin

(Inherited from InternalCommand.)

System_CAPS_pubproperty CommandRuntime

(Inherited from Cmdlet.)

System_CAPS_pubproperty CurrentPSTransaction

(Inherited from Cmdlet.)

System_CAPS_pubproperty Stopping

(Inherited from Cmdlet.)

Methods

Name Description
System_CAPS_protmethod BeginProcessing()

(Inherited from Cmdlet.)

System_CAPS_pubmethod Dispose()

Releases resources.

System_CAPS_protmethod Dispose(Boolean)

Releases resources.

System_CAPS_protmethod DisposeInternal()

Disposes of all managed and unmanaged resources.

System_CAPS_protmethod EndProcessing()

(Inherited from Cmdlet.)

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()

(Inherited from Cmdlet.)

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.(Overrides Cmdlet.StopProcessing().)

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