Skip to content

PS_ExecuteScript

Executes a power shell script
The result is being added to <gsWorkstationPath>\Logs\Temp\PSOut.log

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

Full path to and name of Powershell script that should be executed

Script arguments

Is the script signed

Should the script be executed even though the execution policy prevents it

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

Scripting Guidelines

Constants Package Property Variables