InvokeWmiMethod InvokeWmiMethod InvokeWmiMethod Class

Definition

Wraps the Invoke-WmiMethod cmdlet

public sealed class InvokeWmiMethod : Microsoft.PowerShell.Activities.WmiActivity
type InvokeWmiMethod = class
    inherit WmiActivity
Public NotInheritable Class InvokeWmiMethod
Inherits WmiActivity
Inheritance

Constructors

InvokeWmiMethod() InvokeWmiMethod() InvokeWmiMethod()

Sets the default display name of the activity

Properties

AppendOutput AppendOutput AppendOutput Inherited from PipelineEnabledActivity
ArgumentList ArgumentList ArgumentList

The collection of arguments to use when calling the method

Authority Authority Authority Inherited from WmiActivity
CanInduceIdle CanInduceIdle CanInduceIdle Inherited from PSActivity
Class Class Class

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

Debug Debug Debug Inherited from PSActivity
DefiningModule DefiningModule DefiningModule Inherited from PSActivity
EnableAllPrivileges EnableAllPrivileges EnableAllPrivileges Inherited from WmiActivity
ErrorAction ErrorAction ErrorAction Inherited from PSActivity
Impersonation Impersonation Impersonation Inherited from WmiActivity
InformationAction InformationAction InformationAction Inherited from PSActivity
Input Input Input Inherited from PipelineEnabledActivity
Locale Locale Locale Inherited from WmiActivity
MergeErrorToOutput MergeErrorToOutput MergeErrorToOutput Inherited from PSActivity
Name Name Name

THe name of the instance or static method to call

Namespace Namespace Namespace Inherited from WmiActivity
PSActionRetryCount PSActionRetryCount PSActionRetryCount Inherited from PSActivity
PSActionRetryIntervalSec PSActionRetryIntervalSec PSActionRetryIntervalSec Inherited from PSActivity
PSActionRunningTimeoutSec PSActionRunningTimeoutSec PSActionRunningTimeoutSec Inherited from PSActivity
PSAuthenticationLevel PSAuthenticationLevel PSAuthenticationLevel Inherited from WmiActivity
PSCommandName PSCommandName PSCommandName Inherited from PSActivity
PSComputerName PSComputerName PSComputerName Inherited from WmiActivity
PSCredential PSCredential PSCredential Inherited from WmiActivity
PSDebug PSDebug PSDebug Inherited from PSActivity
PSDefiningModule PSDefiningModule PSDefiningModule Inherited from PSActivity
PSDisableSerialization PSDisableSerialization PSDisableSerialization Inherited from PSActivity
PSError PSError PSError Inherited from PSActivity
PSInformation PSInformation PSInformation Inherited from PSActivity
PSPersist PSPersist PSPersist Inherited from PSActivity
PSProgress PSProgress PSProgress Inherited from PSActivity
PSProgressMessage PSProgressMessage PSProgressMessage Inherited from PSActivity
PSRequiredModules PSRequiredModules PSRequiredModules Inherited from PSActivity
PSVerbose PSVerbose PSVerbose Inherited from PSActivity
PSWarning PSWarning PSWarning Inherited from PSActivity
ParameterDefaults ParameterDefaults ParameterDefaults Inherited from PSActivity
Path Path 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.

Result Result Result Inherited from PipelineEnabledActivity
Tracer Tracer Tracer Inherited from PSActivity
UpdatePreferenceVariable UpdatePreferenceVariable UpdatePreferenceVariable Inherited from PSActivity
UseDefaultInput UseDefaultInput UseDefaultInput Inherited from PipelineEnabledActivity
Verbose Verbose Verbose Inherited from PSActivity
WarningAction WarningAction WarningAction Inherited from PSActivity

Methods

ActivityEndPersistence(NativeActivityContext) ActivityEndPersistence(NativeActivityContext) ActivityEndPersistence(NativeActivityContext) Inherited from PSActivity
CacheMetadata(NativeActivityMetadata) CacheMetadata(NativeActivityMetadata) CacheMetadata(NativeActivityMetadata) Inherited from PSActivity
Cancel(NativeActivityContext) Cancel(NativeActivityContext) Cancel(NativeActivityContext) Inherited from PSActivity
Execute(NativeActivityContext) Execute(NativeActivityContext) Execute(NativeActivityContext) Inherited from PSActivity
GetActivityArguments() GetActivityArguments() GetActivityArguments() Inherited from PSActivity
GetImplementation(NativeActivityContext) GetImplementation(NativeActivityContext) GetImplementation(NativeActivityContext) Inherited from WmiActivity
GetPowerShell(NativeActivityContext) GetPowerShell(NativeActivityContext) GetPowerShell(NativeActivityContext) Inherited from PSActivity
GetRunInProc(ActivityContext) GetRunInProc(ActivityContext) GetRunInProc(ActivityContext) Inherited from PSActivity
GetUbiquitousParameter<T>(String, Dictionary<String,Object>) GetUbiquitousParameter<T>(String, Dictionary<String,Object>) GetUbiquitousParameter<T>(String, Dictionary<String,Object>) Inherited from WmiActivity
GetWmiCommandCore(NativeActivityContext, String) GetWmiCommandCore(NativeActivityContext, String) GetWmiCommandCore(NativeActivityContext, String) Inherited from WmiActivity
PrepareSession(ActivityImplementationContext) PrepareSession(ActivityImplementationContext) PrepareSession(ActivityImplementationContext) Inherited from PSActivity
UpdateImplementationContextForLocalExecution(ActivityImplementationContext, ActivityContext) UpdateImplementationContextForLocalExecution(ActivityImplementationContext, ActivityContext) UpdateImplementationContextForLocalExecution(ActivityImplementationContext, ActivityContext) Inherited from PSActivity
WriteProgressRecord(NativeActivityContext, PSDataCollection<ProgressRecord>, String, ProgressRecordType) WriteProgressRecord(NativeActivityContext, PSDataCollection<ProgressRecord>, String, ProgressRecordType) WriteProgressRecord(NativeActivityContext, PSDataCollection<ProgressRecord>, String, ProgressRecordType) Inherited from PSActivity

Applies to