Set FinalBuilder Variable in Powershel script that called from Action "Execute Powershell script"

Hi,
I use action Execute Power Shell Script" to run Powershell .ps1 file 
What should I do to set Final Builder variable in this file or at least be able to return string back to Final Builder.

It is easy in continua
 write-Host "@@continua[setVariable name=‘Variable’ value=’$val’]"
but how to do same thing in Finalbuilder

Thanks in advance

Hi Sergey,

Typically we suggest passing FinalBuilder variables as script arguments. Be sure to quote any variables that may contain spaces. As reading the values back into FinalBuilder I typically write the values to a file or out as XML and then parse the output. Currently there is no similar method for setting FinalBuilder variables like Continua.