PS_ExecuteScript
Description
Executes a power shell script
Syntax
PS_ExecuteScript(sScript, sScriptArguments, bSigned, bRunUnrestricted) As Boolean
Parameters
sScript (String)
Full path to and name of Powershell script that should be executed
sScriptArguments (String)
Script arguments
bSigned (Boolean)
Is the script signed
bRunUnrestricted (Boolean)
Should the script be executed even though the execution policy prevents it
Example
VBScript
If bStatus Then bStatus = PS_ExecuteScript(gsPackageRoot & "\Kit\CapaInstaller.ps1", "", False, True)