InvokeWmiMethod Class

Definition

Wraps the Invoke-WmiMethod cmdlet

public sealed class InvokeWmiMethod : Microsoft.PowerShell.Activities.WmiActivity
Inheritance

Inherited Members

Microsoft.PowerShell.Activities.PipelineEnabledActivity

Microsoft.PowerShell.Activities.PSActivity

Microsoft.PowerShell.Activities.WmiActivity

Constructors

InvokeWmiMethod()

Sets the default display name of the activity

Properties

ArgumentList

The collection of arguments to use when calling the method

Class

The name of the WMI class to use for when static methods.

Name

THe name of the instance or static method to call

Path

A WMI path specification which should be of the form "Win32_Printer.DeviceID='TestPrinter'" this will select instances of objects on which to call the method.