<?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: Close PSM Session if PowerShell command throughs error in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366010#M53840</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;You can try this once base on the text you detect when username and password is invalid.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;A alt="https://www.autoitscript.com/autoit3/docs/functions/ProcessClose.htm" href="https://www.autoitscript.com/autoit3/docs/functions/ProcessClose.htm" target="_blank"&gt;Function ProcessClose (autoitscript.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2024 09:06:44 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2024-04-10T09:06:44Z</dc:date>
    <item>
      <title>Close PSM Session if PowerShell command throughs error</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366003#M53833</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a PowerShell connection component, which launches poershell and sends command, later pop up comes and which asks for password i am sending password and clicking on ok button. But If username and password is invalid i want close the session and pop up PSMS error message.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000UHzBiIAL.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/88222i89F65583E3496F18/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000UHzBiIAL.png" alt="Field_Content_versions_oct20__068Ht00000UHzBiIAL.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000UHzBdIAL.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/88220i7BED2956D88AAAE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000UHzBdIAL.png" alt="Field_Content_versions_oct20__068Ht00000UHzBdIAL.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 06:22:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366003#M53833</guid>
      <dc:creator>HReddyDesai</dc:creator>
      <dc:date>2024-04-10T06:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Close PSM Session if PowerShell command throughs error</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366004#M53834</link>
      <description>&lt;P&gt;Hi @Harish Reddy​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;This is not possible. The PSM will only receive disconnect once the connection component is closed. PSM has no control over the connection component error.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 07:38:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366004#M53834</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-04-10T07:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Close PSM Session if PowerShell command throughs error</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366005#M53835</link>
      <description>&lt;P&gt;Hi @Harish Reddy​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;This is not possible. The PSM will only receive disconnect once the connection component is closed. PSM has no control over the connection component error.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 07:38:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366005#M53835</guid>
      <dc:creator>Somidi_Vamshi</dc:creator>
      <dc:date>2024-04-10T07:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Close PSM Session if PowerShell command throughs error</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366006#M53836</link>
      <description>&lt;P&gt;Can't we read that error message using au3 script and send command to close session.?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 07:44:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366006#M53836</guid>
      <dc:creator>HReddyDesai</dc:creator>
      <dc:date>2024-04-10T07:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Close PSM Session if PowerShell command throughs error</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366007#M53837</link>
      <description>&lt;P&gt;The only way you can do is to close the PowerShell session if the error message appears. So that PSM will see session disconnect and closes the session&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 08:13:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366007#M53837</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-04-10T08:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Close PSM Session if PowerShell command throughs error</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366008#M53838</link>
      <description>&lt;P&gt;The only way you can do is to close the PowerShell session if the error message appears. So that PSM will see session disconnect and closes the session&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 08:13:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366008#M53838</guid>
      <dc:creator>Somidi_Vamshi</dc:creator>
      <dc:date>2024-04-10T08:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Close PSM Session if PowerShell command throughs error</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366009#M53839</link>
      <description>&lt;P&gt;Could you please help me how can i do that.?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 08:44:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366009#M53839</guid>
      <dc:creator>HReddyDesai</dc:creator>
      <dc:date>2024-04-10T08:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Close PSM Session if PowerShell command throughs error</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366010#M53840</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;You can try this once base on the text you detect when username and password is invalid.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;A alt="https://www.autoitscript.com/autoit3/docs/functions/ProcessClose.htm" href="https://www.autoitscript.com/autoit3/docs/functions/ProcessClose.htm" target="_blank"&gt;Function ProcessClose (autoitscript.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 09:06:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366010#M53840</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-04-10T09:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Close PSM Session if PowerShell command throughs error</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366011#M53841</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;You can try this once base on the text you detect when username and password is invalid.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;A alt="https://www.autoitscript.com/autoit3/docs/functions/ProcessClose.htm" href="https://www.autoitscript.com/autoit3/docs/functions/ProcessClose.htm" target="_blank"&gt;Function ProcessClose (autoitscript.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 09:06:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366011#M53841</guid>
      <dc:creator>Somidi_Vamshi</dc:creator>
      <dc:date>2024-04-10T09:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Close PSM Session if PowerShell command throughs error</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366012#M53842</link>
      <description>&lt;P&gt;Thank you so much,&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;One more question how to detect the username and password invalid result after executing the command. as you saw in previous SS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 09:17:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366012#M53842</guid>
      <dc:creator>HReddyDesai</dc:creator>
      <dc:date>2024-04-10T09:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Close PSM Session if PowerShell command throughs error</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366013#M53843</link>
      <description>&lt;P&gt;Can you please update on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 04:23:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/close-psm-session-if-powershell-command-throughs-error/m-p/1366013#M53843</guid>
      <dc:creator>HReddyDesai</dc:creator>
      <dc:date>2024-04-12T04:23:00Z</dc:date>
    </item>
  </channel>
</rss>

