Running .ps1 file from tSystem doesn't work from TMC
Hi there,
I'm trying to run a powershell file (.ps1) from tSystem component which launch a Qlik Sense task. The problem is: if I run the .ps1 file directly from the server, it works. The powershell is started and do the action required within the script. But, if I execute the corresponding task (Talend job) from TMC, it does nothing. Why does it happen?
The job only has a tSystem component with the command to run .ps1 file. When executing from TMC, the task is running on the same server, so I don't understand why if I do that manually it works, but not works executing from the task.
I provide the content of .ps1 file and the command used in the component: