GetWmiObject Class

Definition

Workflow activity wrapping the Get-Wmiobject cmdlet

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

Inherited Members

Microsoft.PowerShell.Activities.PipelineEnabledActivity

Microsoft.PowerShell.Activities.PSActivity

Microsoft.PowerShell.Activities.WmiActivity

Constructors

GetWmiObject()

Sets the default display name of the activity

Properties

Amended

Indicates whether the objects that are returned from WMI should contain amended information. Typically, amended information is localizable information, such as object and property descriptions, that is attached to the WMI object.

Class

Specifies the name of a WMI class. When this parameter is used, the cmdlet retrieves instances of the WMI class.

DirectRead

Specifies whether direct access to the WMI provider is requested for the specified class without any regard to its base class or to its derived classes.

Filter

Specifies a Where clause to use as a filter. Uses the syntax of the WMI Query Language (WQL).

Property

Specifies the WMI class property or set of properties to retrieve.

Query

Specifies a WMI Query Language (WQL) statement to run. Event queries are not supported by this parameter.