<?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 How to return a cmd value from remote server in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-return-a-cmd-value-from-remote-server/m-p/2200554#M2993</link>
    <description>&lt;P&gt;Hi, I am using tsystem and execute PsTool command to return a value from remote server, I am not getting the correct feedback, It returns:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Starting job Monitor_Running_Services at 12:50 04/06/2020.&lt;/P&gt;
&lt;P&gt;[statistics] connecting to socket on port 3653&lt;BR /&gt;[statistics] connected&lt;/P&gt;
&lt;P&gt;PsExec v2.2 - Execute processes remotely&lt;BR /&gt;Copyright (C) 2001-2016 Mark Russinovich&lt;BR /&gt;Sysinternals - &lt;A href="http://www.sysinternals.com" target="_blank" rel="nofollow noopener noreferrer"&gt;www.sysinternals.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is the command:&lt;/P&gt;
&lt;P&gt;tsystem command:&amp;nbsp;psexec \\\\hostname -u username -p mypassword cmd /c net start | find " + "\"" + "Windows Time" + "\""&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2020 12:09:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-06-04T12:09:29Z</dc:date>
    <item>
      <title>How to return a cmd value from remote server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-return-a-cmd-value-from-remote-server/m-p/2200554#M2993</link>
      <description>&lt;P&gt;Hi, I am using tsystem and execute PsTool command to return a value from remote server, I am not getting the correct feedback, It returns:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Starting job Monitor_Running_Services at 12:50 04/06/2020.&lt;/P&gt;
&lt;P&gt;[statistics] connecting to socket on port 3653&lt;BR /&gt;[statistics] connected&lt;/P&gt;
&lt;P&gt;PsExec v2.2 - Execute processes remotely&lt;BR /&gt;Copyright (C) 2001-2016 Mark Russinovich&lt;BR /&gt;Sysinternals - &lt;A href="http://www.sysinternals.com" target="_blank" rel="nofollow noopener noreferrer"&gt;www.sysinternals.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is the command:&lt;/P&gt;
&lt;P&gt;tsystem command:&amp;nbsp;psexec \\\\hostname -u username -p mypassword cmd /c net start | find " + "\"" + "Windows Time" + "\""&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 12:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-return-a-cmd-value-from-remote-server/m-p/2200554#M2993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-04T12:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to return a cmd value from remote server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-return-a-cmd-value-from-remote-server/m-p/2200555#M2994</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LRFWAA4"&gt;@nmetldev&lt;/A&gt;&amp;nbsp;,check the below link may help to you.&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCk6gCAC" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/tSystem-return-value/td-p/137505&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 12:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-return-a-cmd-value-from-remote-server/m-p/2200555#M2994</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-06-04T12:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to return a cmd value from remote server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-return-a-cmd-value-from-remote-server/m-p/2200556#M2995</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp; The value is not returning when I run with TSystem, And execution doesn't stop. But when I run on local cmd I do get a value back.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\Users\user&amp;gt;psexec \\hostname -u domain\username -p mypassword cmd /c net start | find "Windows Time"&lt;BR /&gt;Starting cmd on hostname... on hostname...&lt;BR /&gt;Windows Time&lt;BR /&gt;cmd exited on hostname with error code 0.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 12:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-return-a-cmd-value-from-remote-server/m-p/2200556#M2995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-04T12:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to return a cmd value from remote server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-return-a-cmd-value-from-remote-server/m-p/2200557#M2996</link>
      <description>&lt;P&gt;Finally figured it out, placing cmd infront of psexec and remove cmd next to /c to get output on local pc&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 09:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-return-a-cmd-value-from-remote-server/m-p/2200557#M2996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-09T09:46:40Z</dc:date>
    </item>
  </channel>
</rss>

