# Microsoft.PowerShell.Workflow Namespace

The Microsoft.PowerShell.Workflow namespace contains classes that provide extensibility to Windows PowerShell workflow.

## Classes

ClassDescription
AstToWorkflowConverterConverts a PowerShell abstract syntax tree into a function that invokes a script as a workflow job. Introduced in Windows PowerShell 3.0.
AstToXamlConverterConverts the abstract syntax tree of a PowerShell function into the workflow XAML code that represents it. Introduced in Windows PowerShell 3.0.
PSWorkflowConfigurationProviderProvides static methods that are used to configure global settings for workflows. Introduced in Windows PowerShell 3.0.
PSWorkflowContextContains metadata related to the common and specific parameters passed to workflow, and metadata related to jobs, clients, and callers. Introduced in Windows PowerShell 3.0.
PSWorkflowDefinitionDefines metadata for a Windows PowerShell workflow. Introduced in Windows PowerShell 3.0.
PSWorkflowExtensionsContains functionality that allows the addition of custom extensions to the PowerShell workflow engine. Introduced in Windows PowerShell 3.0.
PSWorkflowFileInstanceStoreContains functionality for storing stream data to disk. Introduced in Windows PowerShell 3.0.
PSWorkflowIdA Guid that identifies a Windows PowerShell workflow. Introduced in Windows PowerShell 3.0.
PSWorkflowInstanceRepresents all of the information related to a workflow instance. Introduced in Windows PowerShell 3.0.
PSWorkflowInstanceStoreRepresents the persisted memory associated with a PSWorkflowInstance object. Introduced in Windows PowerShell 3.0.
PSWorkflowJobImplements a workflow job. Introduced in Windows PowerShell 3.0.
PSWorkflowJobManagerProvides methods to manage jobs that Windows PowerShell workflows can run.This class is also used to control the number of workflows that run simultaneously. Introduced in Windows PowerShell 3.0.
PSWorkflowRemoteActivityStateTBD. Introduced in Windows PowerShell 4.0.
PSWorkflowRuntimeRepresents the runtime for the Windows PowerShell workflow host. Introduced in Windows PowerShell 3.0.
PSWorkflowSessionConfigurationThis class provides configuration for the Windows PowerShell workflow endpoint. Introduced in Windows PowerShell 3.0.
PSWorkflowTimerDescribes all timers that are related to workflow. Introduced in Windows PowerShell 3.0.
PSWorkflowValidatorThis class exposes the ValidateWorkflow method, which validates all of the activities in a Windows PowerShell workflow to check whether they are allowed. Introduced in Windows PowerShell 3.0.
ValidationContains members that allow for controlling the validation mechanism of the Windows PowerShell workflow engine. Introduced in Windows PowerShell 3.0.
WorkflowJobSourceAdapterAllows workflow instances to be exposed as jobs in Windows PowerShell. Instances of this class manage the collection of jobs associated with a Windows PowerShell workflow. Introduced in Windows PowerShell 3.0.
WorkflowReturnExceptionTBD. Introduced in Windows PowerShell 4.0.

## Enumerations

EnumerationDescription
ActivityRunModeSpecifies how to run an activity. Introduced in Windows PowerShell 3.0.
PSPersistableIdleActionSpecifies the action that occurs if a workflow becomes idle when persistence is allowed. Introduced in Windows PowerShell 3.0.
WorkflowStoreComponentsSpecifies the components of a Windows PowerShell workflow. Introduced in Windows PowerShell 3.0.
WorkflowUnhandledErrorActionIndicates the action to take for unhandled errors in Windows PowerShell workflows. Introduced in Windows PowerShell 3.0.

Show: