Quantcast
Channel: Symantec Connect - Articles
Viewing all articles
Browse latest Browse all 1863

Workflow - Plugins - Protirus - Powershell

$
0
0

Powershell

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

Plugin Icon

Powershell_32.png

Author

Protirus_0.png 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-OpenFile.png

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

Viewing all articles
Browse latest Browse all 1863

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>