IBM WS MQ7.5、Windows MQMFTエージェント、linux MQマネージャー。MQ MFT with Powershell
MQ mft antスクリプトのxmlで定義されているように、powershellスクリプトを実行しようとしています。
私は、agent.propertiesファイルのcommandPathにpowershellスクリプトへのパスを設定しました。
管理通話開始されますが、
<fte:presrc command="C:\IBM\MFT\script\MoveFileToArchive.ps1" successrc="0">
<fte:arg value="${base.file}"/>
</fte:presrc>
エラーが読み込みに失敗し
実行することはできませんプログラムのCreateProcessエラー= 193 MoveFileToArchive.ps1は私が試した
有効なWin32アプリケーションではありませんPowershellにパスを追加するには、次のように定義したpowershell.exeを使用します。
<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>
これはどちらも機能しません。