<?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: Did anyone try PSM-Powershell Connection component? When you try to launch the session, it shows the PSM shadow user. Is there a way to run the power shell as administrator permanently or as the PAM user that launches the session? in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/did-anyone-try-psm-powershell-connection-component-when-you-try/m-p/1314662#M15139</link>
    <description>&lt;P&gt;You can run anything using AutoIt and runas cmdlet.&lt;/P&gt;&lt;P&gt;All PSMShadowUsers have the actual user as a display name, so you can always easily extract the username from that, the password from the fetchSessionProperties() function and you are good to go &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jul 2018 13:02:16 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2018-07-12T13:02:16Z</dc:date>
    <item>
      <title>Did anyone try PSM-Powershell Connection component? When you try to launch the session, it shows the PSM shadow user. Is there a way to run the power shell as administrator permanently or as the PAM user that launches the session?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/did-anyone-try-psm-powershell-connection-component-when-you-try/m-p/1314661#M15138</link>
      <description />
      <pubDate>Thu, 12 Jul 2018 12:09:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/did-anyone-try-psm-powershell-connection-component-when-you-try/m-p/1314661#M15138</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2018-07-12T12:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Did anyone try PSM-Powershell Connection component? When you try to launch the session, it shows the PSM shadow user. Is there a way to run the power shell as administrator permanently or as the PAM user that launches the session?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/did-anyone-try-psm-powershell-connection-component-when-you-try/m-p/1314662#M15139</link>
      <description>&lt;P&gt;You can run anything using AutoIt and runas cmdlet.&lt;/P&gt;&lt;P&gt;All PSMShadowUsers have the actual user as a display name, so you can always easily extract the username from that, the password from the fetchSessionProperties() function and you are good to go &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 13:02:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/did-anyone-try-psm-powershell-connection-component-when-you-try/m-p/1314662#M15139</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2018-07-12T13:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Did anyone try PSM-Powershell Connection component? When you try to launch the session, it shows the PSM shadow user. Is there a way to run the power shell as administrator permanently or as the PAM user that launches the session?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/did-anyone-try-psm-powershell-connection-component-when-you-try/m-p/1314663#M15140</link>
      <description>&lt;P&gt;I haven't made this specific connection component before - but my advice to you is that you should be extremely careful with this one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Because it's launching on the PSM, you (most likely) do NOT want it to run as Administrator. This will give users back-access to your PSM box. &lt;/LI&gt;&lt;LI&gt;You should be launching it with the "RunAs" command of autoit, and launching it as the managed user. Something like this: $ConnectionClientPID = RunAs($TargetUsername,$TargetLogonDomain,$TargetPassword,2,$CLIENT_EXECUTABLE)  &lt;/LI&gt;&lt;LI&gt;For executable you'd want something like this   'powershell -noexit -command -import-module ActiveDirectory'   (you'd need to have the AD management tools installed on the PSM, since I suspect you're wanting to run PowerShell to manage active directory).&lt;/LI&gt;&lt;LI&gt;You will want to ensure that local PSM drives are blocked from access by PSM Shadow Users (check the KB and Installation Guide for steps). &lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 12 Jul 2018 16:14:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/did-anyone-try-psm-powershell-connection-component-when-you-try/m-p/1314663#M15140</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2018-07-12T16:14:53Z</dc:date>
    </item>
  </channel>
</rss>

