PrimalScript 2021 (7.7.148)

Adds new functions in $SAPIENHost to determine execution status.
February 22, 2021 - 15:33
New Version

Features

  • Script Packager now allows you to add more than one icon when packaging to an executable file.
  • Added new functions in $SAPIENHost to determine execution status:
    • bool IsDebugging() returns true when a script is running in the SAPIEN Microsoft PowerShell debugger.
    • bool IsTesting() returns true when a script is being profiled using the SAPIEN Script profiler.
    • bool IsPackaged() returns true when a script is packaged as an executable.
      • These functions are available for PowerShell and PowerShell Core 7.1 and later. Scripts packaged as a Microsoft Windows Service do not have a $SAPIENHost object.
PrimalScript

PrimalScript

Powerful, state of the art scripting.

PrimalScript is also available in:

Got a Question?

Live Chat with our SAPIEN Technologies licensing specialists now.