SetExecutionPolicy Class

Definition

Activity to invoke the Microsoft.PowerShell.Security\Set-ExecutionPolicy command in a Workflow.

public sealed class SetExecutionPolicy : Microsoft.PowerShell.Activities.PSRemotingActivity
Inheritance

Inherited Members

Microsoft.PowerShell.Activities.PipelineEnabledActivity

Microsoft.PowerShell.Activities.PSActivity

Microsoft.PowerShell.Activities.PSRemotingActivity

Constructors

SetExecutionPolicy()

Gets the display name of the command invoked by this activity.

Properties

ExecutionPolicy

Provides access to the ExecutionPolicy parameter.

Force

Provides access to the Force parameter.

PSCommandName

Gets the fully qualified name of the command invoked by this activity.

Scope

Provides access to the Scope parameter.