<?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 Trying to connect to Qlik Using PowerShell in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Trying-to-connect-to-Qlik-Using-PowerShell/m-p/2133687#M25937</link>
    <description>&lt;P&gt;I have an end point say:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;$endpoint = '&lt;A href="https://myserver.com/api/odag/v1/links" target="_blank"&gt;https://myserver.com/api/odag/v1/links&lt;/A&gt;'&lt;BR /&gt;&lt;BR /&gt;and I have certificates say:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;$certificates = \\certifcates.dev.pfx&lt;BR /&gt;&lt;BR /&gt;I am using:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;$clientCert = Get-PfxCertificate $certificates&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;and then I am using:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;$response = Invoke-RestMethod -Uri $endpoint -Method Get -Certificate $clientCert&lt;BR /&gt;&lt;BR /&gt;What am I missing from the Invoke-RestMethod to get on the server. I know that the certificates work as they work the the qlik-cli, however I can not use the qlik CLI in my case.&lt;BR /&gt;&lt;BR /&gt;The ultimate task is to write a function in PowerShell, that can get the odag link that has been create in on environment and deploy it in another&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 10:07:03 GMT</pubDate>
    <dc:creator>Richard_Smith_Uchotski</dc:creator>
    <dc:date>2023-11-01T10:07:03Z</dc:date>
    <item>
      <title>Trying to connect to Qlik Using PowerShell</title>
      <link>https://community.qlik.com/t5/Management-Governance/Trying-to-connect-to-Qlik-Using-PowerShell/m-p/2133687#M25937</link>
      <description>&lt;P&gt;I have an end point say:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;$endpoint = '&lt;A href="https://myserver.com/api/odag/v1/links" target="_blank"&gt;https://myserver.com/api/odag/v1/links&lt;/A&gt;'&lt;BR /&gt;&lt;BR /&gt;and I have certificates say:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;$certificates = \\certifcates.dev.pfx&lt;BR /&gt;&lt;BR /&gt;I am using:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;$clientCert = Get-PfxCertificate $certificates&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;and then I am using:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;$response = Invoke-RestMethod -Uri $endpoint -Method Get -Certificate $clientCert&lt;BR /&gt;&lt;BR /&gt;What am I missing from the Invoke-RestMethod to get on the server. I know that the certificates work as they work the the qlik-cli, however I can not use the qlik CLI in my case.&lt;BR /&gt;&lt;BR /&gt;The ultimate task is to write a function in PowerShell, that can get the odag link that has been create in on environment and deploy it in another&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 10:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Trying-to-connect-to-Qlik-Using-PowerShell/m-p/2133687#M25937</guid>
      <dc:creator>Richard_Smith_Uchotski</dc:creator>
      <dc:date>2023-11-01T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to connect to Qlik Using PowerShell</title>
      <link>https://community.qlik.com/t5/Management-Governance/Trying-to-connect-to-Qlik-Using-PowerShell/m-p/2133699#M25940</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Below is the curl code for the same&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl -k -L --ntlm -H "User-Agent: Windows" -H "Cache-Control: no-cache" -u USERNAME:PASSWORD https://192.1681.251/healthapi/engine/healthcheck/&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 01 Nov 2023 10:44:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Trying-to-connect-to-Qlik-Using-PowerShell/m-p/2133699#M25940</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2023-11-01T10:44:43Z</dc:date>
    </item>
  </channel>
</rss>

