Click or drag to resize

APIRunPowershellScript Method

Runs specified Powershell script (.ps1) file.

Namespace:  AppRobotic
Assembly:  AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax
C#
public string RunPowershellScript(
	Object FullPathToScriptFile
)

Parameters

FullPathToScriptFile
Type: SystemObject
Full path to the Powershell script (.ps1) file.

Return Value

Type: String
Returns string containing 'success' or error message.
See Also