Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » New-PSWorkflowExecutionOption

New-PSWorkflowExecutionOption - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

New-PSWorkflowExecutionOption

Short description
Creates an object that contains session configuration options for workflow sessions.

Syntax
New-PSWorkflowExecutionOption [-ActivityProcessIdleTimeoutSec <Int32>] [-AllowedActivity <String[]>] [-EnableValidation
] [-MaxActivityProcesses <Int32>] [-MaxConnectedSessions <Int32>] [-MaxDisconnectedSessions <Int32>] [-MaxPersistenceSt
oreSizeGB <Int64>] [-MaxRunningWorkflows <Int32>] [-MaxSessionsPerRemoteNode <Int32>] [-MaxSessionsPerWorkflow <Int32>]
 [-OutOfProcessActivity <String[]>] [-PersistencePath <String>] [-PersistWithEncryption] [-RemoteNodeSessionIdleTimeout
Sec <Int32>] [-SessionThrottleLimit <Int32>] [-WorkflowShutdownTimeoutMSec <Int32>] [<CommonParameters>]





Description
The New-PSWorkflowExecutionOption cmdlet creates an object that contains advanced options for workflow session configur
ations, that is session configurations designed to run Windows PowerShell Workflow workflows.


You can use the PSWorkflowExecutionOption object that New-PSWorkflowExecutionOption generates as the value of the Sessi
onTypeOption parameter of cmdlets that create or change a session configuration, such as the Register-PSSessionConfigur
ation and Set-PSSessionConfiguration cmdlets.


Each parameter of the New-PSWorkflowExecutionOption cmdlet represents a property of the workflow session configuration 
option object that the cmdlet returns. If you omit a parameter, the cmdlet creates the object with a default value for 
the property.


The New-PSWorkflowExecutionOption cmdlet is part of the Windows PowerShell Workflow feature.


This cmdlet is introduced in Windows PowerShell 3.0.