Redigera

Dela via


Managed Reference for WMI Windows PowerShell Command Classes

Windows PowerShell implements Windows Management Instrumentation (WMI) functionality through a set of cmdlets. You can use these cmdlets to complete the end-to-end tasks that are necessary to manage local and remote computers.

See Windows PowerShell for more information.

WMI PowerShell Classes

Namespace: Microsoft.PowerShell.Commands

Assembly: Microsoft.PowerShell.Commands.Management

DLL: Microsoft.PowerShell.Commands.Management.dll

These WMI command classes are implemented by Windows PowerShell. These classes are included in this software development kit (SDK) for completeness only. The members of these classes cannot be used directly, nor should they be used to derive other classes.

Class Description
GetWmiObjectCommand Gets instances of WMI classes or information about the available classes.
See the Get-WmiObject cmdlet for examples and detailed information about the parameters.
InvokeWmiMethod Calls WMI methods.
See the Invoke-WmiMethod cmdlet for examples and detailed information about the parameters.
RegisterWmiEventCommand Subscribes to a WMI event.
See the Register-WmiEvent cmdlet for examples and detailed information about the parameters.
RemoveWmiObject Deletes an instance of an existing WMI class.
See the Remove-WmiObject cmdlet for examples and detailed information about the parameters.
SetWmiInstance Creates or updates an instance of an existing WMI class.
See the Set-WmiInstance cmdlet for examples and detailed information about the parameters.