PowerShell connector methods
The PowerShell connector methods act as interfaces with the Microsoft PowerShell to send requests and get responses in the RPA Desktop Design Studio.
CreateShell
Acts as an interface to pass your inputs in the form of commands and scripts. The CreateShell method is the first method you must use.
InvokeCommand
Runs commands and block of scripts on local or remote computers and gets the output including errors, if any.
Note: You must execute the CreateShell method before executing this method.
Input
Output
InvokeScript
Runs a script on local or remote computers and gets the output.
Note: You must execute the CreateShell method before executing this method.
PSObjectToString
Accepts PowerShell objects from other methods or components and converts them to a string.
Inputs
GetValuesByProperty
Accepts a PowerShell object and gets the values of the various properties.
Inputs
Output
Disconnect
Disconnects the connection to the PowerShell.
Serialize
Accepts a PowerShell object and returns the object as a string.
Input
Output
Parent Topic:ITSM connector