InvokeCimMethod
InvokeCimMethod is a PowerShell command that calls a method defined on a CIM (Common Information Model) class or on a specific CIM instance. It is part of the CimCmdlets module and is designed to work with CIM/WMI-compatible providers over WS-Management, enabling management tasks on local or remote systems. The cmdlet serves as a modern alternative to legacy WMI method invocation.
Targeting can be done against a CIM class method or an instance method. To invoke a class
Return values and behavior vary by provider, but the cmdlet generally returns a CIM method result. This
Example usage commonly involves invoking a method on a system class, such as starting a process via
See also: Get-CimInstance, New-CimInstance, Set-CimInstance, and New-CimSession.