PowerShell
Use the PowerShell connector to run pre-registered PowerShell scripts directly from your workflows. It enables you to execute pre-approved scripts on the Edge Service agent, pass Flow values in as script parameters, and return script output as lines of text to your flow. Objects are converted to text rather than returned as structured fields; parse the output in your workflow if you need individual fields.
Managing Connector : Add, Edit, or Delete
Follow the steps in the link as a guideline for connector actions: Add, Edit, and Delete.
Configuration values
Agent Group
Specifies the agent group on which the connector will be executed.
Root Path
The file system path on the agent under which all registered scripts live. Every scriptName is resolved relative to this path and must stay within it. Required.
Execution Timeout (ms)
The maximum time a single script may run before it is cancelled, in milliseconds. Default: 30000 (30 seconds).
Max Memory (MB)
The memory ceiling for the script worker process, in megabytes. Must be at least 128. Default: 512.
Allowed Scripts
The PowerShell scripts to make available; the connector will only run those. Each entry is a Script file plus its Relative Path - pick a file, then pick again to add another entry. Required.
⤷ Scripts
Select a single PowerShell script file (.ps1). Required.
⤷ Relative Path
The location, relative to Root Path, where the selected script is resolved/placed. Optional.
Operations
Runs a registered PowerShell script on the agent and returns its output as text. You choose the script by name and can optionally pass in values for it to use.
Last updated
Was this helpful?