Expand Minimize

Microsoft.PowerShell.Activities Namespace

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

ClassDescription
ActivityGeneratorProvides methods that generate activities that can be used in Workflows. This SDK programming element is introduced in Windows PowerShell 3.0.
ActivityImplementationContextHolds an instance of PowerShell, and provides the context it requires in order to run. This SDK programming element is introduced in Windows PowerShell 3.0.
BehaviorCategoryAttributeRepresents the behavior category attribute. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.
CimActivityImplementationContextProvides additional functionalty for CIM activity implementations. This SDK programming element is introduced in Windows PowerShell 3.0.
ConnectivityCategoryAttributeRepresents the connectivity category attribute. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.
DisablePSWorkflowConnectionRepresents an activity that cleans up all runspaces (PowerShell remoting protocol connections) to a remote machine. This SDK programming element is introduced in Windows PowerShell 3.0.
GenericCimCmdletActivityBase class for the built-in generic CIM cmdlets. This SDK programming element is introduced in Windows PowerShell 3.0.
GetCimAssociatedInstanceRepresents an activity that invokes the CimCmdlets module's Get-CimAssociatedInstance cmdlet in a workflow. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.
GetCimClassActivity to invoke the CimCmdlets\Get-CimClass command in a workflow. This SDK programming element is introduced in Windows PowerShell 3.0.
GetCimInstanceActivity to invoke the CimCmdlets\Get-CimInstance command in a Workflow. This SDK programming element is introduced in Windows PowerShell 3.0.
GetPSWorkflowDataRepresents an activity that retrieves the value of a workflow runtime variable. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.
GetWmiObjectThe workflow activity that wraps the Get-Wmiobject cmdlet. This SDK programming element is introduced in Windows PowerShell 3.0.
HostParameterDefaultsRepresents 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. This SDK programming element is introduced in Windows PowerShell 3.0.
HostSettingCommandMetadataRuntime metadata that represents the currently-running command. This SDK programming element is introduced in Windows PowerShell 3.0.
InlineScriptActivity to support the invocation of Windows PowerShell script content in a workflow. This SDK programming element is introduced in Windows PowerShell 3.0.
InlineScriptContextDefines the context information available to scripts running within the InlineScript activity. These are exposed through the $PSActivity automatic variable. This SDK programming element is introduced in Windows PowerShell 3.0.
InlineScriptDesignerContains the interaction logic for the inline script designer. This class implements the System.Windows.Markup.IComponentConnector interface. This SDK programming element is introduced in Windows PowerShell 3.0.
InputAndOutputCategoryAttributeRepresents the attribute for the category of input and output. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.
InvokeCimMethodActivity to invoke the CimCmdlets\Invoke-CimMethod command in a workflow. This SDK programming element is introduced in Windows PowerShell 3.0.
InvokeWmiMethodWraps the Invoke-WmiMethod cmdlet. This SDK programming element is introduced in Windows PowerShell 3.0.
NewCimInstanceActivity to invoke the CimCmdlets\New-CimInstance command in a workflow. This SDK programming element is introduced in Windows PowerShell 3.0.
NewCimSessionActivity to invoke the CimCmdlets\New-CimSession command in a workflow. This SDK programming element is introduced in Windows PowerShell 3.0.
NewCimSessionOptionRepresents an activity that invokes the CimCmdlets module's New-CimSessionOption cmdlet in a workflow. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.
ParameterSpecificCategoryAttributeRepresents the attribute for the parameter-specific category. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.
PipelineThis 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. This SDK programming element is introduced in Windows PowerShell 3.0.
PipelineDesignerContains the interaction logic for the pipeline designer. This class implements the System.Windows.Markup.IComponentConnector interface. This SDK programming element is introduced in Windows PowerShell 3.0.
PipelineEnabledActivityActivities derived from this class can be used in the Pipeline activity This SDK programming element is introduced in Windows PowerShell 3.0.
PowerShellValueRepresents an activity that evaluates a Windows PowerShell expression and returns the value of type T. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.
PSActivityRepresents the base class for Windows PowerShell workflow activities. This SDK programming element is introduced in Windows PowerShell 3.0.
PSActivityArgumentInfoStores information about an activity argument. This SDK programming element is introduced in Windows PowerShell 3.0.
PSActivityContextRepresents the execution environment of an activity. This SDK programming element is introduced in Windows PowerShell 3.0.
PSActivityEnvironmentThis class describes the policy of an activity host. This SDK programming element is introduced in Windows PowerShell 3.0.
PSActivityHostControllerActivity host manager interface. This interface can be used to implement various activity hosts. This SDK programming element is introduced in Windows PowerShell 3.0.
PSCleanupActivityRepresents the base class for cleanup activities. This SDK programming element is introduced in Windows PowerShell 3.0.
PSGeneratedCIMActivityRepresents the base functionality for Windows PowerShell-generated CIM activities that can use Web Services for Management protocol (WsMan) directly to contact the managed node. This SDK programming element is introduced in Windows PowerShell 3.0.
PSPersistPersists the current workflow and defines the persistence point where a job is suspended. This SDK programming element is introduced in Windows PowerShell 3.0.
PSRemotingActivityBase class for Windows PowerShell workflow remote activities This SDK programming element is introduced in Windows PowerShell 3.0.
PSResumableActivityHostControllerDefines an activity host that hosts activities that can be resumed. This SDK programming element is introduced in Windows PowerShell 3.0.
PSWorkflowHostDefines the set of services made available to a Windows PowerShell workflow activity. This SDK programming element is introduced in Windows PowerShell 3.0.
PSWorkflowInstanceExtensionContains functionality to resume bookmarks using extensions that access an instance of a workflow through a proxy. This SDK programming element is introduced in Windows PowerShell 3.0.
RemoveCimInstanceActivity to invoke the CimCmdlets\Remove-CimInstance command in a workflow. This SDK programming element is introduced in Windows PowerShell 3.0.
RunspaceProviderProvides a runspace with the specified options and constraints. This SDK programming element is introduced in Windows PowerShell 3.0.
SetPSWorkflowDataDefines an activity that sets data values for a Windows PowerShell workflow host. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.
SuspendSuspends the current workflow. This SDK programming element is introduced in Windows PowerShell 3.0.
ThrottledParallelForEach 
WmiActivityAbstract base that contains the common members and invocation code for the WMI cmdlets. This SDK programming element is introduced in Windows PowerShell 3.0.
WorkflowPreferenceVariablesContains special variables that can be defined in a workflow to control the behavior of Windows PowerShell activities. This SDK programming element is introduced in Windows PowerShell 3.0.

InterfaceDescription
IImplementsConnectionRetryImplementing this interface indicates that the activity supports connection retry. This SDK programming element is introduced in Windows PowerShell 3.0.

EnumerationDescription
ActivityOnResumeActionSpecifies whether an activity can be resumed without being restarted. This SDK programming element is introduced in Windows PowerShell 3.0.
PSWorkflowRuntimeVariableDescribes values that are used to indicate the type of a runtime variable that is being retrieved in a Windows PowerShell workflow process. This SDK programming element is introduced in Windows PowerShell 3.0.


Show:
© 2015 Microsoft