Execute Powershell

The Execute Powershell plug-in allows you to invoke a Powershell command or script within a workflow.

Value Pair

Description

arguments

The arguments to pass to the command.

command

The command to run.

outputcolumn

The SharePoint column into which the output will be placed.

Example

The following example runs the visual basic script file e:\test.vbs with the arguments taken from the SharePoint column Project. The output of the command is placed in the Output SharePoint column.

  • arguments – [Project]
  • command – e:\test.vbs
  • outputcolumn – Output