PrimalScript 2021 (7.7.148)

在 $SAPIENHost 中添加新功能以确定执行状态。
2月 22, 2021
新版本

特性

  • 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

功能强大、最先进的脚本。

有任何疑问吗?

透过Live Chat与我们的SAPIEN Technologies 专家联络!