<?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: How to call power shell script in Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-call-power-shell-script-in-Qlikview/m-p/141317#M753559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used below command to run powershell script in qlikview. but is shows some error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; &lt;STRONG&gt;Execute cmd /C powershell -command&amp;nbsp; c:\temp\enviar_email_correto.ps1;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Keke&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2018 05:51:59 GMT</pubDate>
    <dc:creator>keerthika</dc:creator>
    <dc:date>2018-10-09T05:51:59Z</dc:date>
    <item>
      <title>How to call power shell script in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-call-power-shell-script-in-Qlikview/m-p/141315#M753557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; My code is executing in powershell but how to call that script stored in txt file from qlikview, i have encrypted the password here &lt;/P&gt;&lt;P&gt;$Username = "test"&lt;/P&gt;&lt;P&gt;$Password = "D:\test\EmailPassword.txt"&lt;/P&gt;&lt;P&gt;$MyCredential=New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $Username, (Get-Content $Password | ConvertTo-SecureString)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$From = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:test@gmail.com" target="_blank"&gt;test@gmail.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$To = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:test@gmail.com" target="_blank"&gt;test@gmail.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;$Subject = "Here's the Email Subject"&lt;/P&gt;&lt;P&gt;$Body = "This is what I want to say"&lt;/P&gt;&lt;P&gt;$SMTPServer = "smtp.gmail.com"&lt;/P&gt;&lt;P&gt;$SMTPPort = "587"&lt;/P&gt;&lt;P&gt;Send-MailMessage -From $From -to $To -Subject $Subject -Body $Body -SmtpServer $SMTPServer -port $SMTPPort -UseSsl -Credential ($MyCredential) –DeliveryNotificationOption OnSuccess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;keke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-call-power-shell-script-in-Qlikview/m-p/141315#M753557</guid>
      <dc:creator>keerthika</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to call power shell script in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-call-power-shell-script-in-Qlikview/m-p/141316#M753558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using qlik's &lt;STRONG&gt;Execute&lt;/STRONG&gt; command. Have a look here too: &lt;A href="https://community.qlik.com/docs/DOC-6891"&gt;QlikView and Windows PowerShell&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 05:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-call-power-shell-script-in-Qlikview/m-p/141316#M753558</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-10-09T05:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to call power shell script in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-call-power-shell-script-in-Qlikview/m-p/141317#M753559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used below command to run powershell script in qlikview. but is shows some error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; &lt;STRONG&gt;Execute cmd /C powershell -command&amp;nbsp; c:\temp\enviar_email_correto.ps1;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Keke&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 05:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-call-power-shell-script-in-Qlikview/m-p/141317#M753559</guid>
      <dc:creator>keerthika</dc:creator>
      <dc:date>2018-10-09T05:51:59Z</dc:date>
    </item>
  </channel>
</rss>

