PS\_ExecuteScript
Description
Section titled “Description”Executes a power shell script
Syntax
Section titled “Syntax”PS_ExecuteScript(sScript, sScriptArguments, bSigned, bRunUnrestricted) As Boolean
Parameters
Section titled “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
Section titled “Example”VBScript
If bStatus Then bStatus = PS_ExecuteScript(gsPackageRoot & "\Kit\CapaInstaller.ps1", "", False, True)Related functions
Section titled “Related functions”