RemoveCimInstanceCommand Class
This cmdlet allows the user to remove a CimInstance.
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.RemoveCimInstanceCommand
Syntax
[CmdletAttribute("Remove", "CimInstance", SupportsShouldProcess = true,
DefaultParameterSetName = "CimInstanceComputerSet", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=227964")]
public class RemoveCimInstanceCommand : CimBaseCommand
[CmdletAttribute("Remove", "CimInstance", SupportsShouldProcess = true,
DefaultParameterSetName = "CimInstanceComputerSet", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=227964")]
public ref class RemoveCimInstanceCommand : CimBaseCommand
[<CmdletAttribute("Remove", "CimInstance", SupportsShouldProcess = true,
DefaultParameterSetName = "CimInstanceComputerSet", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=227964")>]
type RemoveCimInstanceCommand =
class
inherit CimBaseCommand
end
<CmdletAttribute("Remove", "CimInstance", SupportsShouldProcess := True,
DefaultParameterSetName := "CimInstanceComputerSet", HelpUri := "https://go.microsoft.com/fwlink/?LinkId=227964")>
Public Class RemoveCimInstanceCommand
Inherits CimBaseCommand
Constructors
Name | Description | |
---|---|---|
RemoveCimInstanceCommand() | This class enables the user to remove a CimInstance. |
Properties
Name | Description | |
---|---|---|
CimSession | Gets and sets the Session parameter, which specifies the CIM session to use for removing the CIM instance. |
|
CommandOrigin | (Inherited from InternalCommand.) |
|
CommandRuntime | (Inherited from Cmdlet.) |
|
ComputerName | Gets and sets the ComputerName parameter, which specifies the name of the computer on which you want to run the CIM operation. |
|
CurrentPSTransaction | (Inherited from Cmdlet.) |
|
InputObject | Gets and sets the InputObject parameter, which specifies a CIM instance object to be removed from the CIM server. |
|
Namespace | Gets and sets the Namespace parameter, which is the namespace of the CIM instance to remove. |
|
OperationTimeoutSec | Gets and sets the OperationTimeoutSec parameter, which specifies the invocation operation timeout. This value overrides the CimSession operation timeout. |
|
Query | Gets and sets the Query parameter, which specifies a query to run on the CIM server. You can specify the query dialect using the QueryDialect parameter. |
|
QueryDialect | Gets and sets the QueryDialect parameter, which specifies the dialect used by the query engine that interprets the query string. |
|
ResourceUri | Gets and sets the ResourceUri parameter, which defines the resource URI for which the instances are retrieved. |
|
Stopping | (Inherited from Cmdlet.) |
Methods
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