Powershell template inputs

You use the Inputs tab of the activity designer to create variables to pass into the activity.

You can test the Powershell connection between the MID Server and the target host without having to run the acvitity in a workflow context. For details, see Test Powershell activity template inputs.
Note: Variable strings in the Inputs tab have a 255 character limit.
Figure 1. Powershell activity Inputs tab
Table 1. Powershell input fields
Field Description
Input Input variable builder. Create variables to map to available fields.
Target host Host name or IP address of the target server for this PowerShell activity.
Script type Type of script to run on the PowerShell host. Available options are:
  • Custom Powershell command
  • MID Server script file
Command Command that this activity runs on the target host. This field is available when the Script type selected is Custom Powershell command.
MID Server script file MID Server script file to run. This field is available when the Script type selected is MID Server script file.
Powershell variables Name-value pairs to pass to the host with PowerShell. You can create these variables manually, or drag input variables into the Powershell fields and assign a value.
Credential tag Specific credential tag this activity must use to run PowerShell commands on the host.
Required MID Server capabilities MID Server to use for querying PowerShell, by capabilities. By default, the system selects a PowerShell MID Server.