/
PS_ExecuteScript
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)
Related functions
, multiple selections available,
Related content
Scripting Library
Scripting Library
Read with this
PS_ExecuteScript
PS_ExecuteScript
More like this
Registry Functions
Registry Functions
Read with this
PS_ExecuteScript
PS_ExecuteScript
More like this
PS_ExecuteScript
PS_ExecuteScript
More like this
PS_GetExecutionPolicy
PS_GetExecutionPolicy
More like this