Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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) 

Scripting Guidelines


Related functions


  • No labels