APIRunPowershellScriptWithOutput Method |
Runs specified Powershell script (.ps1) file and returns its output.
Namespace:
AppRobotic
Assembly:
AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax public string RunPowershellScriptWithOutput(
Object FullPathToScriptFile
)
Parameters
- FullPathToScriptFile
- Type: SystemObject
Full path to the Powershell script (.ps1) file.
Return Value
Type:
StringReturns string containing 'success' with the Powershell output, or error message.
See Also