IBM WS MQ7.5, windows MQMFT agent, linux MQ manager.
I am trying to run a powershell script as defined in the xml of a MQ mft ant script.
I configured the path to the powershell scripts in commandPath of the agent.properties files.
The managed call starts but fails
<fte:presrc command="C:\IBM\MFT\script\MoveFileToArchive.ps1" successrc="0">
<fte:arg value="${base.file}"/>
</fte:presrc>
The error reads
cannot run program createprocess error=193 MoveFileToArchive.ps1 is not a valid win32 application
I tried to add the path to powershell with powershell.exe defined like so
<fte:presrc command="C:\windows\system\windowspowershell\v.1.0\powershell.exe C:\IBM\MFT\script\MoveFileToArchive.ps1" successrc="0">
<fte:arg value="${base.file}"/>
</fte:presrc>
This doesnt work either.