Execute Powershell Script action

I am using Automsie 2.0.0.198 I am trying to pass a parameter to my Powershell script, and I am calling the script using the Execute Powershell Script action.

The parameter is a Automise variable and it is being passed into the powershell script without expansion.

I am passing %InputFileName% as the parameter, and my powershell script is receiving this as %InputFileName% instead of the actual filename.

Is this a bug?

Hi Sridhar,

Yes, that’s a bug, we’ve just checked in the fix and should have a new build available soon.

Regards,
Paul.

Here’s the new build of Automise 2:

URL: http://www.automise.com/downloads/automise/200/AT200_201.exe

Regards,
Paul.

Paul.

I’m using Automise v.200.1.1.201 and still have the same issue with Powershell not expanding the variable contents, and accepting the actual variable name instead.
Ive tried passing the Automise variable both with and without expansion, with no success.

Is this still a known issue?

regards
Alisha

Hi Alisha

It seems the bugfix didn’t make it into build 201, this build should work as expected :

http://www.automise.com/downloads/automise/200/AT200_202.exe

Thanks Vincent.

downloaded AT200_202 and it works perfectly.

much appreciated.
Alisha