Skip to content

PS\_ExecuteScript

Executes a power shell script

PS_ExecuteScript(sScript, sScriptArguments, bSigned, bRunUnrestricted) As Boolean

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

VBScript

If bStatus Then bStatus = PS_ExecuteScript(gsPackageRoot & "\Kit\CapaInstaller.ps1", "", False, True)

Scripting Guidelines