Passing values to PowerShell script

Hi All,

How do I pass values to a PowerShell script which is defined in the Execute PowerShell Scipt action.

Regards Alfred

Hi

You can pass arguments to the script from the Action properties dialog, options page, Script parameters. You access them through $args (it’s and array).

Thanks ;)

Hi,

I'm using FinalBuilder 5 and FB doesn't seem to replace variables in the script parameters (see image).  Is this expected?

Thanks

![](upload://4X260OlGHZvzm0m62iv2j2wGprM.gif)

It's a bug in FB5 that was fixed in FB6. I have just backported the change to FB5 and started a build, I'll let you know when a fix is available.

 

here's the new build with the fix included :

https://www.finalbuilder.com/downloads/finalbuilder/550/FB550_764.exe

 

That's fantastic, much obliged!