Sdílet prostřednictvím


Microsoft.PowerShell.Activities Namespace

Classes

ActivityGenerator

Generates an activity that corresponds to a PowerShell command

ActivityImplementationContext

Holds an instance of System.Management.Automation.PowerShell, and the context it needs to run.

BehaviorCategoryAttribute

Category attribute for "Behavior"

CimActivityImplementationContext

Provides additional functionalty for CIM activity implementations.

ConnectivityCategoryAttribute

Category attribute for "Connectivity"

DisablePSWorkflowConnection

Activity to cleanup all Runspaces (PSRP connections) to a remote machine

GenericCimCmdletActivity

Base class for the built-in generic CIM cmdlets.

GetCimAssociatedInstance

Activity to invoke the CimCmdlets\Get-CimAssociatedInstance command in a Workflow.

GetCimClass

Activity to invoke the CimCmdlets\Get-CimClass command in a Workflow.

GetCimInstance

Activity to invoke the CimCmdlets\Get-CimInstance command in a Workflow.

GetPSWorkflowData<T>

Activity to retrieve the value of a workflow runtime variable.

GetWmiObject

Workflow activity wrapping the Get-Wmiobject cmdlet

HostParameterDefaults

Parameter default, contains all the information which needs to be passed to Workflow context.

HostSettingCommandMetadata

Runtime metadata that represents the currently-running command.

InlineScript

Activity to support the invocation of PowerShell script content in a Workflow.

InlineScriptContext

Defines the context information available to scripts running within the InlineScript activity. These are exposed through the $PSActivity automatic variable.

InlineScriptDesigner

Interaction logic for InlineScriptDesigner.xaml

InputAndOutputCategoryAttribute

Category attribute for "Input and Output"

InvokeCimMethod

Activity to invoke the CimCmdlets\Invoke-CimMethod command in a Workflow.

InvokeWmiMethod

Wraps the Invoke-WmiMethod cmdlet

NewCimInstance

Activity to invoke the CimCmdlets\New-CimInstance command in a Workflow.

NewCimSession

Activity to invoke the CimCmdlets\New-CimSession command in a Workflow.

NewCimSessionOption

Activity to invoke the CimCmdlets\New-CimSessionOption command in a Workflow.

ParameterSpecificCategoryAttribute

Category attribute for "Activity-Specific Parameters"

Pipeline

The implementation of pipeline activity. This similar concept which we have in PowerShell today like Get-Process | Stop-Process. Pipline activity will make sure the piped execution of its child acitities.

PipelineDesigner

Interaction logic for PipelineDesigner.xaml

PipelineEnabledActivity

Activities derived from this class can be used in the Pipeline activity

PowerShellValue<T>

Evaluate the Powershell expression and return the value of type T.

PSActivity

Base class for PowerShell-based workflow activities

PSActivityArgumentInfo

Stores information about an activity argument

PSActivityContext

The activity context.

PSActivityEnvironment

Class the describes an activity host policy

PSActivityHostController

Activity host manager interface. This interface can be used to implement various activity hosts

PSCleanupActivity

Base activity for cleanup activities

PSGeneratedCIMActivity

Base class for activities that can use WsMan directly to contact ta managed node.

PSPersist

Persist the current workflow. Also defines the persistence point where suspend-job is getting suspended.

PSRemotingActivity

Base class for PowerShell-based workflow activities

PSResumableActivityHostController

This class will be used for disconnected execution where the Job Id and bookmark will be used resume the execution of workflow after the completion of activity controller work.

PSWorkflowHost

Interface that defines the PowerShell workflow host Workflow host defines the set of services that are made available to an activity

PSWorkflowInstanceExtension

Defining resuming extension.

RemoveCimInstance

Activity to invoke the CimCmdlets\Remove-CimInstance command in a Workflow.

RunspaceProvider

Class that provides a runspace with the specified options and constraints

SetPSWorkflowData

Activity to set a host value in a Workflow.

Suspend

Suspends the current workflow.

ThrottledParallelForEach<T>

Implements the equivalent of the ParallelForeach activity, but supports throttling as well. Taken from the Workflow SDK: http://www.microsoft.com/en-us/download/details.aspx?id=21459

WmiActivity

Abstract base contining the common members and invocation code for the WMI cmdlets.

WorkflowPreferenceVariables

Special variables that can be defined in a workflow to control the behaviour of PowerShell activities.

Interfaces

IImplementsConnectionRetry

Implementing this interface indicates that the activity supports connection retry.

Enums

ActivityOnResumeAction

Defines the activity on-resume action.

PSWorkflowRuntimeVariable