Share via


SetPSWorkflowData Class

Definition

Activity to set a host value in a Workflow.

public ref class SetPSWorkflowData sealed : System::Activities::NativeActivity
public sealed class SetPSWorkflowData : System.Activities.NativeActivity
type SetPSWorkflowData = class
    inherit NativeActivity
Public NotInheritable Class SetPSWorkflowData
Inherits NativeActivity
Inheritance
SetPSWorkflowData

Constructors

SetPSWorkflowData()

Properties

AppendOutput

Determines whether to append output to Result.

Input

The Input stream for the activity.

MergeErrorToOutput

Determines whether to merge error data to the output stream

OtherVariableName

The variable to set, if not included in the PSWorkflowRuntimeVariable enum.

PSActionRetryCount

Defines the number of retries that the activity will make when it encounters an error during execution of its action. The default is to not retry.

PSActionRetryIntervalSec

Defines the delay, in seconds, between action retry attempts. The default is one second.

PSActionRunningTimeoutSec

Defines the maximum amount of time, in seconds, that this activity may run. The default is unlimited.

PSAllowRedirection

Determines whether to allow redirection by the remote computer. The default is false.

PSApplicationName

Defines the remote application name to connect to. The default is "wsman".

PSAuthentication

Defines the authentication type to be used in the remote connection.

PSBookmarkTimeoutSec

Defines the maximum amount of time that the workflow engine should wait for a bookmark to be resumed. The default is unlimited.

PSCertificateThumbprint

Defines the certificate thumbprint to be used in the remote connection.

PSComputerName

The computer name to invoke this activity on.

PSConfigurationName

Defines the remote configuration name to connect to. The default is "Microsoft.PowerShell".

PSConnectionRetryCount

Defines the number of retries that the activity will make to connect to a remote machine when it encounters an error. The default is to not retry.

PSConnectionRetryIntervalSec

Defines the delay, in seconds, between connection retry attempts. The default is one second.

PSConnectionUri

Defines the fully-qualified remote URI to connect to. When specified, the PSComputerName, PSApplicationName, PSConfigurationName, and PSPort are not used.

PSCredential

Defines the credential to use in the remote connection.

PSDebug

The Debug stream / collection for the activity.

PSDisableSerialization

Forces the activity to return non-serialized objects. Resulting objects have functional methods and properties (as opposed to serialized versions of them), but will not survive persistence when the Workflow crashes or is persisted.

PSError

The Error stream / collection for the activity.

PSInformation

The Information stream / collection for the activity.

PSPersist

Forces the activity to not call the persist functionality, which will be responsible for persisting the workflow state onto the disk.

PSPort

The port to use in a remote connection attempt. The default is: HTTP: 5985, HTTPS: 5986.

PSProgress

The Progress stream / collection for the activity.

PSRemotingBehavior

Defines the remoting behavior to use when invoking this activity.

PSRequiredModules

This the list of module names (or paths) that are required to run this Activity successfully. The default is null.

PSSessionOption

Defines any session options to be used in the remote connection.

PSUseSsl

Determines whether to use SSL in the connection attempt. The default is false.

PSVerbose

The Verbose stream / collection for the activity.

PSWarning

The Warning stream / collection for the activity.

Result

The output stream from the activity

UseDefaultInput

Determines whether to connect the input stream for this activity.

Value

Applies to