<?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 Re: QV &amp; Powershell in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883085#M308001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;invoke PowerShell directly, that's what i want to do. but, i don't know how ;( &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2015 08:47:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-15T08:47:53Z</dc:date>
    <item>
      <title>QV &amp; Powershell</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883079#M307995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm looking for help using Qlikview and powershell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the aim is to get the last value of my Qv and insert it in a parameter table in oracle DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did this :&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;sqlplus user/user@DWH_WRITE&lt;/P&gt;
&lt;P&gt;update test set DATE_ID=sysdate;&lt;/P&gt;
&lt;P&gt;commit;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;the script execute wel the first ligne, but not the others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regads&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 15:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883079#M307995</guid>
      <dc:creator />
      <dc:date>2015-06-12T15:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: QV &amp; Powershell</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883080#M307996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your QlikView-application will it be run as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) QlikView Desktop - File Open in Server?&lt;/P&gt;&lt;P&gt;2) Internet Explorer via AccessPoint - IE-plugin?&lt;/P&gt;&lt;P&gt;3) Full Browser (Ajax) via AccessPoint?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to write a VBScript Macro that sends the command or some text via Named Pipes to&lt;/P&gt;&lt;P&gt;a PowerShell script that is listening to a Named Pipe and then it could do exactly what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done exactly that written the VBScript-macro and sent information to a PowerShell Named-pipe server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 15:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883080#M307996</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-12T15:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: QV &amp; Powershell</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883081#M307997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample code that has been tested in QlikView Desktop:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBSCRIPT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub TestPipe&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dim msg_sent, msg_resp &lt;/P&gt;&lt;P&gt;&amp;nbsp; pipeName = "ForWrite"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ' Remember to turn on the security settings: Allow System and Allow System Access&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set fso = CreateObject("Scripting.FileSystemObject")&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set pipe = fso.OpenTextFile("\\.\pipe\" &amp;amp; PipeName, 2, True)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; msg = "Shouting 'Hello World!' through a Named Pipe"&lt;/P&gt;&lt;P&gt;&amp;nbsp; pipe.Write ( msg )&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'msg_resp = pipe.ReadLine()&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'MsgBox resp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; pipe.Close&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POWERSHELL:&lt;/P&gt;&lt;P&gt;$npipeServer = new-object System.IO.Pipes.NamedPipeServerStream('ForWrite', [System.IO.Pipes.PipeDirection]::In)&lt;/P&gt;&lt;P&gt;try {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $npipeServer.WaitForConnection()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $i = (new-object System.IO.StreamReader($npipeServer)).ReadToEnd()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $i&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;finally {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $npipeServer.Dispose()&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 15:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883081#M307997</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-12T15:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: QV &amp; Powershell</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883082#M307998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an alternative you could push this info via a simple HTTP GET by having av special constructed URL very easily too....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 15:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883082#M307998</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-12T15:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: QV &amp; Powershell</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883083#M307999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;the goal is to update a table with a value that comes from a QlikView when reloading.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 08:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883083#M307999</guid>
      <dc:creator />
      <dc:date>2015-06-15T08:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: QV &amp; Powershell</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883084#M308000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can still use VBScript from your load script by calling a VBScript Function. But you could also use EXECUTE statement in your load script to invoke PowerShell directly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 08:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883084#M308000</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-15T08:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: QV &amp; Powershell</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883085#M308001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;invoke PowerShell directly, that's what i want to do. but, i don't know how ;( &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 08:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883085#M308001</guid>
      <dc:creator />
      <dc:date>2015-06-15T08:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: QV &amp; Powershell</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883086#M308002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a simple one-lines that doesn't do much at all but illustrates the concept:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Write-Host Hello World! | Pause;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or even&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE powershell.exe Write-Host Hello World! | Pause;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is important that the Account you are using to run the load script is allowed to execute PowerShell scripts of course.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 09:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Powershell/m-p/883086#M308002</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-15T09:00:53Z</dc:date>
    </item>
  </channel>
</rss>

