<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Running .ps1 file from tSystem doesn't work from TMC in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Running-ps1-file-from-tSystem-doesn-t-work-from-TMC/m-p/2480091#M141240</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;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?&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;I provide the content of .ps1 file and the command used in the component:&lt;/P&gt;
&lt;P&gt;Powershell file&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pllopis_0-1725610176494.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171365i6C26CF4ED594529B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pllopis_0-1725610176494.png" alt="pllopis_0-1725610176494.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Test 1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pllopis_1-1725610210927.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171366iBF34D0A8CDDA36CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pllopis_1-1725610210927.png" alt="pllopis_1-1725610210927.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Test 2&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pllopis_2-1725610245097.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171367i82088217B8210CBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pllopis_2-1725610245097.png" alt="pllopis_2-1725610245097.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Neither option works.&lt;/P&gt;
&lt;P&gt;Any suggestion please?&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2024 08:14:34 GMT</pubDate>
    <dc:creator>pllopis</dc:creator>
    <dc:date>2024-09-06T08:14:34Z</dc:date>
    <item>
      <title>Running .ps1 file from tSystem doesn't work from TMC</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Running-ps1-file-from-tSystem-doesn-t-work-from-TMC/m-p/2480091#M141240</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;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?&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;I provide the content of .ps1 file and the command used in the component:&lt;/P&gt;
&lt;P&gt;Powershell file&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pllopis_0-1725610176494.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171365i6C26CF4ED594529B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pllopis_0-1725610176494.png" alt="pllopis_0-1725610176494.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Test 1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pllopis_1-1725610210927.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171366iBF34D0A8CDDA36CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pllopis_1-1725610210927.png" alt="pllopis_1-1725610210927.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Test 2&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pllopis_2-1725610245097.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171367i82088217B8210CBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pllopis_2-1725610245097.png" alt="pllopis_2-1725610245097.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Neither option works.&lt;/P&gt;
&lt;P&gt;Any suggestion please?&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 08:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Running-ps1-file-from-tSystem-doesn-t-work-from-TMC/m-p/2480091#M141240</guid>
      <dc:creator>pllopis</dc:creator>
      <dc:date>2024-09-06T08:14:34Z</dc:date>
    </item>
  </channel>
</rss>

