by PowerShellInside - Product Type: Component / .NET WF
PowerShell Workflow Activity by PowerShellInside
URLs: powershell-workflow-activity, powershell workflow activity, powershellworkflowactivity, powershellinside
Simplify WF Workflows with PowerShell scripting. PowerShell Workflow Activity allows you to execute PowerShell scripts from within Windows Workflow Foundation workflows. Each instance of the activity on a workflow can define a different PowerShell script to execute. PowerShell Workflow Activity also allows you to execute scripts on remote machines using the PowerShell V2 Remoting protocol or the PowerShell Server protocol.
The PowerShell Workflow Activity allows you to execute PowerShell scripts from within Windows Workflow Foundation workflows. Each instance of the activity on a workflow can define a different PowerShell script to execute.
Using the PowerShell Workflow Activity
To use PowerShell Workflow Activity, follow these simple steps:
Open your workflow in the Visual Studio designer
Drag the PowerShellSendActivity from the Toolbox into your workflow
Configure the activity properties with the following: A name that identifies this activity and the PowerShell script to run when the activity is executed. You can just write your script directly in the activity properties, or dot-source an external script file with your commands.
Executing Scripts on Remote Machines
PowerShell Workflow Activity also allows you to execute scripts on remote machines using the PowerShell V2 Remoting protocol or the PowerShell Server protocol. To use PowerShell Remoting, you need to set the following options in the task properties:
Host: The name or IP address of the remote computer.
Protocol: set to prRemoting;.
User and Password: Optional. If not specified, the connection will be attempted using the user the SSIS workflow is running under.
To use PowerShell Server, you need to have PowerShell Server installed and running in the remote machine, and configure the following properties:
Host: The name or IP address of the remote computer.
Protocol: set to prSSH.
SSHAuthMode: Set to amPassword for username/password authentication or to amPublicKey for public key authentication. For the latter, this option needs to have been enabled in the remote PowerShell Server, and the task needs to have access to a certificate the server will accept.
User: The username to be used for authentication.
Password: Optional. The host key/certificate used to authenticate the server.
SSHCert: The certificate to use for public key authentication.
Receiver Property List
The following is the full list of the properties of the receiver activity with short descriptions.
Firewall - A set of properties related to firewall access.
Host - The host where the command should be executed.
LogFile - The file to write logging information to at runtime.
LogMode - What information gets logged during activity execution.
Other - Defines a set of configuration settings to be used by the activity.
Password - The password to use when executing commands remotely.
Port - The TCP port number to use for remote connections.
Protocol - The protocol to use for executing remote commands.
PSObjects - A collection of PSObject items returned by the script execution.
PSVariables - Input variables you want to pass to the PowerShell script.
Script - The PowerShell script to execute.
SSHAcceptServerHostKey - Instructs the activity to accept the server host key that matches the supplied key.
SSHAcceptServerHostKeyAcceptAny - Tells the activity to accept any server certificate.
SSHAuthMode - The type of authentication used by the activity.
SSHCert- The certificate to use for client authentication during the SSH handshake.
SSHCompressionAlgorithms - A comma-separated list of compression algorithms allowed for this connection.
Timeout - A timeout for the activity.
User - The username to use when executing commands remotely.
Sender Property List
The following is the full list of the properties of the sender activity with short descriptions.
Firewall - A set of properties related to firewall access.
Host - The host where the command should be executed.
LogFile - The file to write logging information to at runtime.
LogMode - What information gets logged during activity execution.
Other - Defines a set of configuration settings to be used by the activity.
OutputText - The output of the PowerShell Script executed.
Password - The password to use when executing commands remotely.
Port - The TCP port number to use for remote connections.
Protocol - The protocol to use for executing remote commands.
Script - The PowerShell script to execute.
SSHAcceptServerHostKey - Instructs the activity to accept the server host key that matches the supplied key.
SSHAcceptServerHostKeyAcceptAny - Tells the activity to accept any server certificate.
SSHAuthMode - The type of authentication used by the activity.
SSHCert - The certificate to use for client authentication during the SSH handshake.
SSHCompressionAlgorithms - A comma-separated list of compression algorithms allowed for this connection.
Timeout - A timeout for the activity.
User - The username to use when executing commands remotely.
Configuration Settings
The following is a list of configuration settings for the activity with short descriptions.
SSHAcceptServerHostKeyFingerPrint - Instructs the activity to accept the server's host key with this fingerprint.
SSHEncryptionAlgorithms - A comma-separated list containing all allowable compression algorithms.
AbsoluteTimeout - Determines whether timeouts are inactivity timeouts or absolute timeouts.
LocalHost - The name of the local host or user-assigned IP interface through which connections are initiated or accepted.
PersistedConnectionTimeout - How long to leave a persisted connection alive.
Simplify WF Workflows with PowerShell scripting.
Pricing: PowerShell Workflow Activity V1 Workstation License - Single Workstation License, PowerShell Workflow Activity V1 Server License - Unlimited CPU Server License
Evals & Downloads: Read the PowerShell Workflow Activity help file, Read the PowerShellInside License Agreement, Download the PowerShell Workflow Activity V1 evaluation on to your computer - Expires After 30 Days
Operating System for Deployment: Windows 7, Windows Vista
Architecture of Product: 32Bit
Product Type: Component
Component Type: .NET WF
Compatible Containers: Microsoft Visual Studio 2010, Microsoft Visual Studio 2008, Microsoft Visual Studio 2005, Microsoft Visual Basic 2010, Microsoft Visual Basic 2008, Microsoft Visual Basic 2005, Microsoft Visual C++ 2010, Microsoft Visual C++ 2008, Microsoft Visual C++ 2005, Microsoft Visual C# 2010, Microsoft Visual C# 2008, Microsoft Visual C# 2005, .NET Framework 4.0, .NET Framework 3.5, .NET Framework 3.0, .NET Framework 2.0
Keywords: PowerShell Workflow Activity, powershellinside PowerShell Workflow Activity
workflow
Part numbers: PC-540228-349877 540228-349877 PC-540228-349878 540228-349878
Mfr. Part No: PEW1-A PEW1-AS
ComponentSource offers a unique global service, used by over 1,000,000 software developers worldwide.