Click or drag to resize

APIRunPowershellCmdletWithOutput Method

Runs specified Powershell cmdlet and returns its output.

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

Parameters

CommandToRun
Type: SystemObject
Powershell command.

Return Value

Type: String
Returns string containing 'success' with the Powershell output, or error message.
See Also