SetCimInstanceCommand Class
Enables the user to set properties and keys on a specific 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.SetCimInstanceCommand
Syntax
[CmdletAttribute("Set", "CimInstance", SupportsShouldProcess = true,
DefaultParameterSetName = "CimInstanceComputerSet", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=227962")]
public class SetCimInstanceCommand : CimBaseCommand
[CmdletAttribute("Set", "CimInstance", SupportsShouldProcess = true,
DefaultParameterSetName = "CimInstanceComputerSet", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=227962")]
public ref class SetCimInstanceCommand : CimBaseCommand
[<CmdletAttribute("Set", "CimInstance", SupportsShouldProcess = true,
DefaultParameterSetName = "CimInstanceComputerSet", HelpUri = "https://go.microsoft.com/fwlink/?LinkId=227962")>]
type SetCimInstanceCommand =
class
inherit CimBaseCommand
end
<CmdletAttribute("Set", "CimInstance", SupportsShouldProcess := True,
DefaultParameterSetName := "CimInstanceComputerSet", HelpUri := "https://go.microsoft.com/fwlink/?LinkId=227962")>
Public Class SetCimInstanceCommand
Inherits CimBaseCommand
Constructors
Name | Description | |
---|---|---|
SetCimInstanceCommand() | Constructs an object that enables the user to set properties and keys on a specific CIM instance. |
Properties
Name | Description | |
---|---|---|
CimSession | Gets and sets the CimSession parameter, which specifies the CIM session used to set 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 CimInstance. |
|
Namespace | Gets and sets the Namespace property, which is used to look for class instances. |
|
OperationTimeoutSec | Gets and sets the OperationTimeoutSec parameter, which is used to set the invocation operation timeout. This value overrides the CimSession operation timeout. |
|
PassThru | Gets and sets the PassThru parameter. True means the cmdlet will output the modified result instance. The default is False and it means output nothing. |
|
Property | Sets and gets the Property parameter. Any invalid property will cause the execution of the cmdlet to terminate. |
|
Query | Gets and sets the Query property. |
|
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 specifes the 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