TIt is possible to get a unique list of all neighbor Task uuid’s of the current Account. To access any neighbor Task uuid loop through the array with the following method:
param($neighborTasks)
foreach ($uuid in $neighborTasks) {
Host-Write $uuid;
}
This will create some Chat messages with all neighbor Task uuid’s of the current Account as content:

To access Robogator proprietary variables with PowerShell, you have to first initialize all variables on the first line of the script with e. g. param($TaskParameter, $MyKey, $neighborTasks) and after that it is possible to access the variables in the underlaying script lines.