InvokeWmiMethod Members
The Invoke-WMIMethod 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.
The following tables list the members exposed by the InvokeWmiMethod type.
Public Constructors
Name | Description | |
---|---|---|
InvokeWmiMethod | Creates a new InvokeWmiMethod 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. |
Top
Public Properties
Name | Description | |
---|---|---|
ArgumentList | Gets and sets the value of the ArgumentList parameter of the Invoke-WMIMethod cmdlet. This property is introduced in Windows PowerShell 2.0. | |
AsJob | (Inherited from WmiBaseCmdlet) | |
Authentication | (Inherited from WmiBaseCmdlet) | |
Authority | (Inherited from WmiBaseCmdlet) | |
Class | Gets and sets the value of the Class parameter of the Invoke-WMIMethod cmdlet. This property is introduced in Windows PowerShell 2.0. | |
CommandOrigin | Gets the origin of the command. The command can be invoked within a runspace or it could be an external request (such as invoking the command from the command line). This property is introduced in Windows PowerShell 2.0. (Inherited from InternalCommand) | |
CommandRuntime | Gets and sets the command runtime object that controls what happens when the cmdlet writes an object to the pipeline. (Inherited from Cmdlet) | |
ComputerName | (Inherited from WmiBaseCmdlet) | |
Credential | (Inherited from WmiBaseCmdlet) | |
CurrentPSTransaction | Gets the latest transaction started by running the Start-Transaction cmdlet. This property is introduced in Windows PowerShell 2.0. (Inherited from Cmdlet) | |
EnableAllPrivileges | (Inherited from WmiBaseCmdlet) | |
Impersonation | (Inherited from WmiBaseCmdlet) | |
InputObject | Gets and sets the value of the InputObject parameter of the Invoke-WMIMethod cmdlet. This property is introduced in Windows PowerShell 2.0. | |
Locale | (Inherited from WmiBaseCmdlet) | |
Name | Gets and sets the value of the Name parameter of the Invoke-WMIMethod cmdlet. This property is introduced in Windows PowerShell 2.0. | |
Namespace | (Inherited from WmiBaseCmdlet) | |
Path | Gets and sets the value of the Path parameter of the Invoke-WMIMethod cmdlet. This property is introduced in Windows PowerShell 2.0. | |
Stopping | 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) | |
ThrottleLimit | (Inherited from WmiBaseCmdlet) |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Equals | (Inherited from Object) | |
GetHashCode | (Inherited from Object) | |
GetResourceString | Gets a resource string that corresponds to the specified resource base key and identifier. (Inherited from Cmdlet) | |
GetType | (Inherited from Object) | |
Invoke | Overloaded. Invokes a cmdlet object. The variants of this method can invoke a cmdlet that returns a collection of results or a strongly-typed enumerator. (Inherited from Cmdlet) | |
ShouldContinue | Overloaded. Requests confirmation of an operation from the user. This is typically a second query to the user. The variants of this method can send the query with or without providing yesToall or noToall options to the user. (Inherited from Cmdlet) | |
ShouldProcess | Overloaded. Requests confirmation from the user before an operation is performed. The variants of this method can be used to send the name of the resource to be changed, send the name of the resource and the operation to be performed, and more. The confirmation message that is displayed to the user is based on which variant of this method is called. (Inherited from Cmdlet) | |
ThrowTerminatingError | 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) | |
ToString | (Inherited from Object) | |
TransactionAvailable | 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) | |
WriteCommandDetail | Writes information to the execution log of the pipeline. (Inherited from Cmdlet) | |
WriteDebug | Writes a debug message to the host. (Inherited from Cmdlet) | |
WriteError | 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) | |
WriteObject | Overloaded. Writes an object to the output pipeline. The variants of this method can be used to write a single object or an object that can be enumerated. (Inherited from Cmdlet) | |
WriteProgress | Writes a progress record to the host. (Inherited from Cmdlet) | |
WriteVerbose | Writes a general user-level message to the pipeline. These messages can help describe what the cmdlet is doing. (Inherited from Cmdlet) | |
WriteWarning | Writes a warning message that can be displayed. (Inherited from Cmdlet) |
Top
Protected Methods
(see also Extension Methods)
Name | Description | |
---|---|---|
BeginProcessing | Provides a one-time, preprocessing functionality for the cmdlet. (Inherited from Cmdlet) | |
EndProcessing | Provides a one-time, post-processing functionality for the cmdlet. (Inherited from Cmdlet) | |
Finalize | (Inherited from Object) | |
MemberwiseClone | (Inherited from Object) | |
ProcessRecord | Provides a record-by-record processing functionality for the cmdlet. (Inherited from Cmdlet) | |
StopProcessing | Stops processing records when the user stops the cmdlet asynchronously. (Inherited from Cmdlet) |
Top
Extension Methods
Name | Description | |
---|---|---|
As | Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.) | |
As | This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.) | |
As | Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.) | |
Extend | Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.) | |
Extend | This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.) | |
Extend | Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.) | |
ToEnumerable | This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.) |
Top
See Also
Reference
InvokeWmiMethod Class
Microsoft.PowerShell.Commands Namespace