<?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 Execute powershell command in qv script and reload using distribution service in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336460#M616014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I created script in qv to download file from Web page using powershell + BITS. Everything is working fine when I reload document manually but when I run it through management control or just wait for scheduled start, it's not working. There is no error or anything but it just won't download file. I'm log file I can see the script and it looks like there is no issue but I don't get any file. I checked allow to execute external program in document properties. What can be wrong here?&lt;/P&gt;&lt;P&gt;My script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vCOMMAND = 'Import-Module BitsTransfer &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Start-BitsTransfer -Source &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=table_of_contents.xml" rel="nofollow" target="_blank"&gt;http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=table_of_contents.xml&lt;/A&gt;&lt;SPAN&gt; -Destination D:\QLIKVIEW\Dane\WEB\EUROSTAT\table_of_contents.xml';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Execute powershell -command $(vCOMMAND); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2017 15:47:54 GMT</pubDate>
    <dc:creator>rafalcqlik</dc:creator>
    <dc:date>2017-06-08T15:47:54Z</dc:date>
    <item>
      <title>Execute powershell command in qv script and reload using distribution service</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336460#M616014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I created script in qv to download file from Web page using powershell + BITS. Everything is working fine when I reload document manually but when I run it through management control or just wait for scheduled start, it's not working. There is no error or anything but it just won't download file. I'm log file I can see the script and it looks like there is no issue but I don't get any file. I checked allow to execute external program in document properties. What can be wrong here?&lt;/P&gt;&lt;P&gt;My script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vCOMMAND = 'Import-Module BitsTransfer &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Start-BitsTransfer -Source &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=table_of_contents.xml" rel="nofollow" target="_blank"&gt;http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=table_of_contents.xml&lt;/A&gt;&lt;SPAN&gt; -Destination D:\QLIKVIEW\Dane\WEB\EUROSTAT\table_of_contents.xml';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Execute powershell -command $(vCOMMAND); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 15:47:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336460#M616014</guid>
      <dc:creator>rafalcqlik</dc:creator>
      <dc:date>2017-06-08T15:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Execute powershell command in qv script and reload using distribution service</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336461#M616015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does the user running your QlikView service has an access to this file/rights to execute command statement. Remember, that running it localy you are running it with your credentials, when triggering from server you are using service account credentials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pozdr.&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 05:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336461#M616015</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2017-06-09T05:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Execute powershell command in qv script and reload using distribution service</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336462#M616017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it has access to that file. It's the same user. QlikView Service is running on the same user I'm using to develop documents. It has full admin rights.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 06:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336462#M616017</guid>
      <dc:creator>rafalcqlik</dc:creator>
      <dc:date>2017-06-09T06:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Execute powershell command in qv script and reload using distribution service</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336463#M616018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this topic and see whether you are missing something:&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlikviewcookbook.com/2016/01/authorizing-the-script-execute-statement/" title="https://qlikviewcookbook.com/2016/01/authorizing-the-script-execute-statement/"&gt;https://qlikviewcookbook.com/2016/01/authorizing-the-script-execute-statement/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jun 2017 02:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336463#M616018</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2017-06-10T02:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Execute powershell command in qv script and reload using distribution service</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336464#M616019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also found this topic and tried that before I created new discussion. Nothing works...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 19:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336464#M616019</guid>
      <dc:creator>rafalcqlik</dc:creator>
      <dc:date>2017-06-14T19:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Execute powershell command in qv script and reload using distribution service</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336465#M616020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I found the problem. For some reason powershell command:&lt;/P&gt;&lt;P&gt;Import-Module BitsTransfer &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Start-BitsTransfer -Source &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=table_of_contents.xml" rel="nofollow" target="_blank"&gt;http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=table_of_contents.xml&lt;/A&gt;&lt;SPAN&gt; -Destination D:\QLIKVIEW\Dane\WEB\EUROSTAT\table_of_contents.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;was not working when reloading with distribution service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this one works:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Invoke-WebRequest -Uri &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=table_of_contents.xml" rel="nofollow" target="_blank"&gt;http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=table_of_contents.xml&lt;/A&gt;&lt;SPAN&gt; -OutFile D:\QLIKVIEW\Dane\WEB\EUROSTAT\table_of_contents.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both commands work fine when reloading manually in QlikView desktop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 22:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336465#M616020</guid>
      <dc:creator>rafalcqlik</dc:creator>
      <dc:date>2017-06-14T22:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Execute powershell command in qv script and reload using distribution service</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336466#M616021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Good kn you mate!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 23:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-powershell-command-in-qv-script-and-reload-using/m-p/1336466#M616021</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2017-06-14T23:49:58Z</dc:date>
    </item>
  </channel>
</rss>

