Loading...

Profitbase.PS.PsScript.Execute

[Profitbase.PS.PsScript]::Execute

Allows for execution of the named PowerShell script defined in the solution.

The script is stored in InVision, not on the disk. In SaaS solutions, the Solution Devs will not be able to put a file on any disk. This feature meets the need to execute a script without requiring access to the disk.

Example

[Profitbase.PS.PsScript]::Execute($PbRunContext, 'posh script with 2 params',
'Continue', 'my special output message.')