<?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 PowerShell example for 'run-script' and 'put-file' via REST API in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/PowerShell-example-for-run-script-and-put-file-via-REST-API/m-p/21879#M1367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mates,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use PowerShell to query information from our CheckPoints. As I have learned from former threads the values I need are not exposed directly. To get the values I need to run clish commands by help of 'run-script' and perhaps 'put-file'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please share a working example that I can take as reference?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Many, many thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ruben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2018 04:34:01 GMT</pubDate>
    <dc:creator>Ruben_Zimmerman</dc:creator>
    <dc:date>2018-05-08T04:34:01Z</dc:date>
    <item>
      <title>PowerShell example for 'run-script' and 'put-file' via REST API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/PowerShell-example-for-run-script-and-put-file-via-REST-API/m-p/21879#M1367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mates,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use PowerShell to query information from our CheckPoints. As I have learned from former threads the values I need are not exposed directly. To get the values I need to run clish commands by help of 'run-script' and perhaps 'put-file'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please share a working example that I can take as reference?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Many, many thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ruben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 04:34:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/PowerShell-example-for-run-script-and-put-file-via-REST-API/m-p/21879#M1367</guid>
      <dc:creator>Ruben_Zimmerman</dc:creator>
      <dc:date>2018-05-08T04:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell example for 'run-script' and 'put-file' via REST API</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/PowerShell-example-for-run-script-and-put-file-via-REST-API/m-p/21880#M1368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the following links are very usefull -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.checkpoint.com/docs/DOC-2412-r8010-management-api-put-file-commands-undocumented-flag"&gt;https://community.checkpoint.com/docs/DOC-2412-r8010-management-api-put-file-commands-undocumented-flag&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.checkpoint.com/thread/5684-web-api-issues-with-run-script-and-install-policy-from-powershell-in-r8010"&gt;https://community.checkpoint.com/thread/5684-web-api-issues-with-run-script-and-install-policy-from-powershell-in-r8010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.checkpoint.com/docs/DOC-2163"&gt;https://community.checkpoint.com/docs/DOC-2163&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.checkpoint.com/thread/5122-can-we-get-the-routes-from-r80"&gt;https://community.checkpoint.com/thread/5122-can-we-get-the-routes-from-r80&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 05:29:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/PowerShell-example-for-run-script-and-put-file-via-REST-API/m-p/21880#M1368</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-05-08T05:29:32Z</dc:date>
    </item>
  </channel>
</rss>

