Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Microsoft.PowerShell.Activities Namespace

 

Updated: April 27, 2016

Applies To: Windows PowerShell

The Microsoft.PowerShell.Activities namespace contains classes used to manage activities used by Windows PowerShell workflow.

ClassDescription
System_CAPS_pubclassActivityGenerator

Provides methods that generate activities that can be used in Workflows. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassActivityImplementationContext

Holds an instance of PowerShell, and provides the context it requires in order to run. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassBehaviorCategoryAttribute

Represents the behavior category attribute. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassCimActivityImplementationContext

Provides additional functionalty for CIM activity implementations. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassConnectivityCategoryAttribute

Represents the connectivity category attribute. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassDisablePSWorkflowConnection

Represents an activity that cleans up all runspaces (PowerShell remoting protocol connections) to a remote machine. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassGenericCimCmdletActivity

Base class for the built-in generic CIM cmdlets. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassGetCimAssociatedInstance

Represents an activity that invokes the CimCmdlets module's Get-CimAssociatedInstance cmdlet in a workflow. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassGetCimClass

Activity to invoke the CimCmdlets\Get-CimClass command in a workflow. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassGetCimInstance

Activity to invoke the CimCmdlets\Get-CimInstance command in a Workflow. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassGetPSWorkflowData<T>

Represents an activity that retrieves the value of a workflow runtime variable. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassGetWmiObject

The workflow activity that wraps the Get-Wmiobject cmdlet. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassHostParameterDefaults

Represents the parameter defaults for a workflow host. An instance of this class contains all the information that must be passed to a workflow context. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassHostSettingCommandMetadata

Runtime metadata that represents the currently-running command. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassInlineScript

Activity to support the invocation of Windows PowerShell script content in a workflow. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassInlineScriptContext

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

System_CAPS_pubclassInlineScriptDesigner

Contains the interaction logic for the inline script designer. This class implements the System.Windows.Markup.IComponentConnector interface. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassInputAndOutputCategoryAttribute

Represents the attribute for the category of input and output. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassInvokeCimMethod

Activity to invoke the CimCmdlets\Invoke-CimMethod command in a workflow. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassInvokeWmiMethod

Wraps the Invoke-WmiMethod cmdlet. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassNewCimInstance

Activity to invoke the CimCmdlets\New-CimInstance command in a workflow. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassNewCimSession

Activity to invoke the CimCmdlets\New-CimSession command in a workflow. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassNewCimSessionOption

Represents an activity that invokes the CimCmdlets module's New-CimSessionOption cmdlet in a workflow. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassParameterSpecificCategoryAttribute

Represents the attribute for the parameter-specific category. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPipeline

This class is the implementation of pipeline activity for workflow activities.

This is similar to the concept of the pipeline in Windows PowerShell, where the result of a command is treated as the input for the next command. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPipelineDesigner

Contains the interaction logic for the pipeline designer. This class implements the System.Windows.Markup.IComponentConnector interface. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPipelineEnabledActivity

Activities derived from this class can be used in the Pipeline activity Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPowerShellValue<T>

Represents an activity that evaluates a Windows PowerShell expression and returns the value of type T. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPSActivity

Represents the base class for Windows PowerShell workflow activities. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPSActivityArgumentInfo

Stores information about an activity argument. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPSActivityContext

Represents the execution environment of an activity. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPSActivityEnvironment

This class describes the policy of an activity host. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPSActivityHostController

Activity host manager interface. This interface can be used to implement various activity hosts. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPSCleanupActivity

Represents the base class for cleanup activities. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPSGeneratedCIMActivity

Represents the base functionality for Windows PowerShell-generated CIM activities that can use Web Services for Management protocol (WsMan) directly to contact the managed node. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPSPersist

Persists the current workflow and defines the persistence point where a job is suspended. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPSRemotingActivity

Base class for Windows PowerShell workflow remote activities Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPSResumableActivityHostController

Defines an activity host that hosts activities that can be resumed. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPSWorkflowHost

Defines the set of services made available to a Windows PowerShell workflow activity. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassPSWorkflowInstanceExtension

Contains functionality to resume bookmarks using extensions that access an instance of a workflow through a proxy. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassRemoveCimInstance

Activity to invoke the CimCmdlets\Remove-CimInstance command in a workflow. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassRunspaceProvider

Provides a runspace with the specified options and constraints. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassSetPSWorkflowData

Defines an activity that sets data values for a Windows PowerShell workflow host. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassSuspend

Suspends the current workflow. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassThrottledParallelForEach<T>

Implements the equivalent of the ParallelForeach activity, but supports throttling as well. Taken from the Workflow SDK. Introduced in Windows PowerShell 4.0.

System_CAPS_pubclassWmiActivity

Abstract base that contains the common members and invocation code for the WMI cmdlets. Introduced in Windows PowerShell 3.0.

System_CAPS_pubclassWorkflowPreferenceVariables

Contains special variables that can be defined in a workflow to control the behavior of Windows PowerShell activities. Introduced in Windows PowerShell 3.0.

InterfaceDescription
System_CAPS_pubinterfaceIImplementsConnectionRetry

Implementing this interface indicates that the activity supports connection retry. Introduced in Windows PowerShell 3.0.

EnumerationDescription
System_CAPS_pubenumActivityOnResumeAction

Specifies whether an activity can be resumed without being restarted.

Introduced in Windows PowerShell 3.0.

System_CAPS_pubenumPSWorkflowRuntimeVariable

Describes values that are used to indicate the type of a runtime variable that is being retrieved in a Windows PowerShell workflow process. Introduced in Windows PowerShell 3.0.

Return to top
Show:
© 2016 Microsoft