Workflow - Plugins - Protirus - Powershell

Published on Wednesday, 6 December 2017

Powershell

The 'Powershell' plugin opens a file picker, filters on Powershell file extensions (**.ps1*, *.psm1, *.psd1) and then runs the chosen file with custom param ($project) that can be used in your Powershell script.

Plugin Icon

Powershell 32

Author

Protirus 0. Protirus (Alex Hedley)

Perform Action

Choose a Powershell file to run, you can chose whether to hide the powershell dialog.

This runs with a param of the Project Directory "-project"

So you can add the following to your powershell scripts to access this path.

param([String]$project="")
...
write-output $project

Workflow Plugins Powershell

Workflow Plugins Powershell OpenFile

Alternative

Start | All Programs | Accessories | Windows PowerShell

%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe

Location

[Install Drive]:\Program Files\Symantec\Workflow\Designer\Plugins\

DLL

  • Protirus.Workflow.Plugins.dll

Code

powershell.exe -file "FILENAME"

Or

powershell.exe -file "" -project ""

Or

powershell.exe -windowstyle Hidden -file "" -project ""

Customise

Can be hidden with a config change in the 'Protirus.Workflow.Plugins.xml' file.

Documentation

[Display any related Documentation]

  • Title URL
    • Chapter/Page #

Support

[Display any related Support Documents]

  • Title
    • URL