Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SetWmiInstance Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

The Set-WmiInstance cmdlet class that is implemented by Windows PowerShell. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.This class is introduced in Windows PowerShell 2.0.

Namespace:   Microsoft.PowerShell.Commands
Assembly:  Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)


<CmdletAttribute("Set", "WmiInstance", DefaultParameterSetName := "class",
	SupportsShouldProcess := True, HelpUri := "http://go.microsoft.com/fwlink/?LinkID=113402",
	RemotingCapability := RemotingCapability.OwnedByCommand)>
Public NotInheritable Class SetWmiInstance
	Inherits WmiBaseCmdlet

NameDescription
System_CAPS_pubmethodSetWmiInstance()

Creates a new SetWmiInstance object. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.This constructor is introduced by Windows PowerShell 2.0.

NameDescription
System_CAPS_pubpropertyArguments

Gets and sets the value of the Arguments parameter of the Set-WmiInstancee cmdlet. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyAsJob

Gets and sets the AsJob parameter of the derived cmdlet. This property is introduced in Windows PowerShell 2.0.(Inherited from WmiBaseCmdlet.)

System_CAPS_pubpropertyAuthentication

Gets and sets the Authentication parameter of the derived cmdlet. This property is introduced in Windows PowerShell 2.0.(Inherited from WmiBaseCmdlet.)

System_CAPS_pubpropertyAuthority

Gets and sets the Authority parameter of the derived cmdlet. This property is introduced in Windows PowerShell 2.0.(Inherited from WmiBaseCmdlet.)

System_CAPS_pubpropertyClass

Gets and sets the value of the Class parameter of the Set-WmiInstance cmdlet. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyCommandRuntime

Gets and sets the command runtime object that controls what happens when the cmdlet writes an object to the pipeline.(Inherited from Cmdlet.)

System_CAPS_pubpropertyComputerName

Gets and sets the ComputerName parameter of the derived cmdlet. This property is introduced in Windows PowerShell 2.0.(Inherited from WmiBaseCmdlet.)

System_CAPS_pubpropertyCredential

Gets and sets the Credential parameter of the derived cmdlet. This property is introduced in Windows PowerShell 2.0.(Inherited from WmiBaseCmdlet.)

System_CAPS_pubpropertyCurrentPSTransaction

Gets the latest transaction started by running the Start-Transaction cmdlet. This property is introduced in Windows PowerShell 2.0.(Inherited from Cmdlet.)

System_CAPS_pubpropertyEnableAllPrivileges

Gets and sets the EnableAllPrivileges parameter of the derived cmdlet. This property is introduced in Windows PowerShell 2.0.(Inherited from WmiBaseCmdlet.)

System_CAPS_pubpropertyImpersonation

Gets and sets the Impersonation parameter of the derived cmdlet. This property is introduced in Windows PowerShell 2.0.(Inherited from WmiBaseCmdlet.)

System_CAPS_pubpropertyInputObject

Gets and sets the value of the InputObject parameter of the Set-WmiInstance cmdlet. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyLocale

Gets and sets the Locale parameter of the derived cmdlet. This property is introduced in Windows PowerShell 2.0.(Inherited from WmiBaseCmdlet.)

System_CAPS_pubpropertyNamespace

Gets and sets the Namespace parameter of the derived cmdlet. This property is introduced in Windows PowerShell 2.0.(Inherited from WmiBaseCmdlet.)

System_CAPS_pubpropertyPath

Gets and sets the value of the Path parameter of the Set-WmiInstance cmdlet. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyPutType

Gets and sets the value of the PutType parameter of the Set-WmiInstance cmdlet. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyStopping

Gets an indicator that the pipeline is stopping. The pipeline can be stopped for numerous reasons, such as when the user has entered the key combination CTRL+C, a terminating error has occurred, the hosting application requested a stop, and so on. (Inherited from Cmdlet.)

System_CAPS_pubpropertyThrottleLimit

Gets and sets the ThrottleLimit parameter of the derived cmdlet. This property is introduced in Windows PowerShell 2.0.(Inherited from WmiBaseCmdlet.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetResourceString(String, String)

Gets a resource string that corresponds to the specified resource base key and identifier.(Inherited from Cmdlet.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInvoke()

Invokes a cmdlet object and returns a collection of results.(Inherited from Cmdlet.)

System_CAPS_pubmethodShouldContinue(String, String)

Requests confirmation of an operation from the user by sending a second query to the user.(Inherited from Cmdlet.)

System_CAPS_pubmethodShouldContinue(String, String, Boolean, Boolean, Boolean)

Confirm an operation or grouping of operations with the user. This differs from ShouldProcess in that it is not affected by preference settings or command-line parameters, it always does the query. This variant offers Yes, No, YesToAll and NoToAll. (Inherited from Cmdlet.)

System_CAPS_pubmethodShouldContinue(String, String, Boolean, Boolean)

Requests confirmation of an operation from the user by sending a second query to the user with yesToall and noToall options.(Inherited from Cmdlet.)

System_CAPS_pubmethodShouldProcess(String)

Requests confirmation from the user before an operation is performed. This method sends the name of the resource to be changed so that the user can decide if the operation should continue.(Inherited from Cmdlet.)

System_CAPS_pubmethodShouldProcess(String, String)

Requests confirmation from the user before an operation is performed. This method sends the operation that is to be performed and the name of the resource to be changed so that the user can decide if the operation should continue.(Inherited from Cmdlet.)

System_CAPS_pubmethodShouldProcess(String, String, String)

Requests confirmation from the user before an operation is performed. This method sends a description of the operation to be performed, a warning message that can include query, and a caption for the warning message.(Inherited from Cmdlet.)

System_CAPS_pubmethodShouldProcess(String, String, String, ShouldProcessReason)

Requests confirmation from the user before an operation is performed. This method sends a detailed description of the resource to be changed and the operation to be performed to the user for confirmation before the operation is performed.(Inherited from Cmdlet.)

System_CAPS_pubmethodThrowTerminatingError(ErrorRecord)

Reports a terminating error when the cmdlet cannot continue, or when you do not want the cmdlet to continue to process records.(Inherited from Cmdlet.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTransactionAvailable()

Determines whether the Start-Transaction cmdlet has been called and that there is a Windows PowerShell transaction available that the cmdlet can participate in. This method is introduced in Windows PowerShell 2.0.(Inherited from Cmdlet.)

System_CAPS_pubmethodWriteCommandDetail(String)

Writes information to the execution log of the pipeline.(Inherited from Cmdlet.)

System_CAPS_pubmethodWriteDebug(String)

Writes a debug message to the host.(Inherited from Cmdlet.)

System_CAPS_pubmethodWriteError(ErrorRecord)

Reports a nonterminating error to the error pipeline when the cmdlet cannot process a record but can continue to process other records.(Inherited from Cmdlet.)

System_CAPS_pubmethodWriteInformation(InformationRecord)

Route information to the user or host. (Inherited from Cmdlet.)

System_CAPS_pubmethodWriteInformation(Object, String())

Route information to the user or host. (Inherited from Cmdlet.)

System_CAPS_pubmethodWriteObject(Object)

Writes a single object to the output pipeline.(Inherited from Cmdlet.)

System_CAPS_pubmethodWriteObject(Object, Boolean)

Writes an object to the output pipeline that can be enumerated by Windows PowerShell.(Inherited from Cmdlet.)

System_CAPS_pubmethodWriteProgress(ProgressRecord)

Writes a progress record to the host.(Inherited from Cmdlet.)

System_CAPS_pubmethodWriteVerbose(String)

Writes a general user-level message to the pipeline. These messages can help describe what the cmdlet is doing.(Inherited from Cmdlet.)

System_CAPS_pubmethodWriteWarning(String)

Writes a warning message that can be displayed.(Inherited from Cmdlet.)

This cmdlet creates or updates an instance of an existing Windows Management Instrumentation (WMI) class. For more information about this cmdlet, see Set-WmiInstance in the Microsoft TechNet library.

For Help at the command line, type:

get-help set-wmiinstance

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

Return to top
Show: