<?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: Run Power Shell Script via CPM. in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390783#M71320</link>
    <description>&lt;P&gt;We just got this working. We created a separate platform under service accounts. It uses TPC instead of PMTerminal and invokes a powershell that then makes the REST API calls to push the password to a target application. We then tied this in the usages for the Active Directory account so that every time the password is changed, CPM pushes this via the usage platform (using the powershell RestAPI).&lt;/P&gt;&lt;P&gt;Let me know if you need any specifics.&lt;/P&gt;</description>
    <pubDate>Sat, 19 Sep 2020 04:19:10 GMT</pubDate>
    <dc:creator>tsrkum</dc:creator>
    <dc:date>2020-09-19T04:19:10Z</dc:date>
    <item>
      <title>Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390758#M71295</link>
      <description>&lt;P&gt;I have service account that I will be using for Veeam Backups.&amp;nbsp;&amp;nbsp;The service account has to be in the domain admin group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to set the password to be CPM controlled but also have the CPM change the password within the Veeam environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The password can be changed via PS script as long as the VeeamPSSnapin is loaded into the PS shell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://helpcenter.veeam.com/docs/backup/powershell/add-vbrcredentials.html?ver=95&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: anyone do anything like this before.&amp;nbsp;&amp;nbsp;Can the CPM be configured to run a PS1 script at the same time that it changes the password in Active Directory?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 20:55:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390758#M71295</guid>
      <dc:creator>Dave_Zuver</dc:creator>
      <dc:date>2018-12-10T20:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390759#M71296</link>
      <description>&lt;P&gt;Yes you can, I've done this before.  You can spawn the PS script in the following way:&lt;/P&gt;&lt;P&gt;(spawn)"powershell.exe" "-version" "2" "-file" ...&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 09:08:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390759#M71296</guid>
      <dc:creator>jverr</dc:creator>
      <dc:date>2018-12-13T09:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390760#M71297</link>
      <description>&lt;P&gt;Hi, you don't even need to step down to Powershell version 2 anymore if you use the new plug-in executable "CyberArk.TPC.exe".&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 11:25:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390760#M71297</guid>
      <dc:creator>wri</dc:creator>
      <dc:date>2018-12-17T11:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390761#M71298</link>
      <description>&lt;P&gt;@&lt;A alt="https://community.cyberark.com/s/profile/005500000088hKoAAI" href="https://community.cyberark.com/s/profile/005500000088hKoAAI" target="_blank"&gt;davezuver&lt;/A&gt;&amp;nbsp;- did you ever get this working?&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 20:39:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390761#M71298</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-05-15T20:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390762#M71299</link>
      <description>&lt;P&gt;@wri Can you please help explain how to use CyberArk TPC to run a powershell Script. We have to make some REST calls to make password changes. We are running into issues with that due to Powershell version 2&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 07:00:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390762#M71299</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-05-31T07:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390763#M71300</link>
      <description>&lt;P&gt;Hi Simar, this is how i did it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[states]&lt;/P&gt;&lt;P&gt;#Start spawn sequence&lt;/P&gt;&lt;P&gt;StartScript=(spawn)C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe &amp;amp; '.\bin\ScriptREST.ps1' -action '&amp;lt;action&amp;gt;' -address '&amp;lt;address&amp;gt;' -username '&amp;lt;username&amp;gt;' -password '$curr_pass' -newpass '$new_pass'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[transitions]&lt;/P&gt;&lt;P&gt;# Various error handles&lt;/P&gt;&lt;P&gt;StartScript,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UnableToConnect,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FAILUnableToConnect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The script handles every action so i use a variable to pass it to the script.&lt;/P&gt;&lt;P&gt;Make sure that in the powershell script you enable TLS1.2 or otherwise you can run into connecting issues too.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2019 21:27:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390763#M71300</guid>
      <dc:creator>wri</dc:creator>
      <dc:date>2019-06-02T21:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390764#M71301</link>
      <description>&lt;P&gt;Hi Wri,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to run powershell version 2 with pmterminal.exe but the same is not working with Cyberark.TPC.exe. Is there any additional configurations that needs to be done to make it compatible with  Cyberark.TPC.exe&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 09:53:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390764#M71301</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-06-07T09:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390765#M71302</link>
      <description>&lt;P&gt;When I use the similar configuration(PMTerminal) to spawn powershell script it throws the following error&lt;/P&gt;&lt;P&gt;"Version v4.0.30319 of the .NET Framework is not installed and it is required to run version 3 of Windows PowerShell.\n"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though checking $PSVersionTable returns with latest .NET installed on the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insights as to how to resolve this?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 19:49:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390765#M71302</guid>
      <dc:creator>M.Lewis170489</dc:creator>
      <dc:date>2019-06-18T19:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390766#M71303</link>
      <description>&lt;P&gt;Hi, you should check the spawn line for correct quoting as quotes are very important to make it spawn correctly&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 06:35:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390766#M71303</guid>
      <dc:creator>wri</dc:creator>
      <dc:date>2019-06-19T06:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390767#M71304</link>
      <description>&lt;P&gt;Only version 2 of powershell will work with PMTerminal, see earlier reaction above to see the syntax&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 06:36:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390767#M71304</guid>
      <dc:creator>wri</dc:creator>
      <dc:date>2019-06-19T06:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390768#M71305</link>
      <description>&lt;P&gt;We did update the spawn command to pick version 2 and it gives with the lowest version is not available.&lt;/P&gt;&lt;P&gt;CallWrapperRotate=(spawn)C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -version 2 bin\\test.ps1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Version v2.0.50727 of the .NET Framework is not installed and it is required to run version 2 of Windows PowerShell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changing the version number in Spawn command comes back with the error of an supported .NET version is not installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Opening a powershell and running $PSVersionTable brings up with 4.0.30319.42000 installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:43:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390768#M71305</guid>
      <dc:creator>M.Lewis170489</dc:creator>
      <dc:date>2019-06-19T14:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390769#M71306</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is it possible to know how to pass password in powershell.exe argument using CyberArk TPC  module?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 08:16:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390769#M71306</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-04-10T08:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390770#M71307</link>
      <description>&lt;P&gt;Hello, i tried by this way the script powershell runs fine but i'm unable to pass the the newpassword value in the script argument. do you have an idea?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 09:37:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390770#M71307</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-04-14T09:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390771#M71308</link>
      <description>&lt;P&gt;Hello, i tried by this way the script powershell runs fine susing TPC plugin, but i'm unable to pass the the newpassword value in the script argument. have an idea?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 09:42:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390771#M71308</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-04-14T09:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390772#M71309</link>
      <description>&lt;P&gt;Maybe you're not in the right phase? Maybe you are in the Logon phase and not the Change phase. Is the variable filled at that time?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 10:15:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390772#M71309</guid>
      <dc:creator>wri</dc:creator>
      <dc:date>2020-04-14T10:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390773#M71310</link>
      <description>&lt;P&gt;thanks for reply&lt;/P&gt;&lt;P&gt;I'm not sure to understand how to distinguish between Logon phase and change password phase is it in the process file?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 11:25:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390773#M71310</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-04-14T11:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390774#M71311</link>
      <description>&lt;P&gt;Yes. You have to end the logon phase instantly only at change phase the newpassword variable will be filled.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 11:45:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390774#M71311</guid>
      <dc:creator>wri</dc:creator>
      <dc:date>2020-04-14T11:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390775#M71312</link>
      <description>&lt;P&gt;I'm not sure to understand ho to Distinguish logon or password change phases.&lt;/P&gt;&lt;P&gt;Is it set in process.ini file?&lt;/P&gt;&lt;P&gt;maybe exist a template file based on CyberArk.TPC.exe plugin ?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 12:19:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390775#M71312</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-04-14T12:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390776#M71313</link>
      <description>&lt;P&gt;i'm trying this (I have truncated ScriptNames)&lt;/P&gt;&lt;P&gt;StartScript=(spawn)C:\\Windows\\SysWOW64\\WindowsPowerShell\\v1.0\\powershell.exe &amp;amp; '.\\bin\\CHGPassword_PSv1.ps1' -User &amp;lt;username&amp;gt; -CurrentPW &amp;lt;pmpass&amp;gt; -NewPass &amp;lt;pmnewpass&amp;gt; -Targ &amp;lt;address&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 13:36:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390776#M71313</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-04-14T13:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Run Power Shell Script via CPM.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390777#M71314</link>
      <description>&lt;P&gt;Did you try to verify an account? Does that work?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 13:41:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/run-power-shell-script-via-cpm/m-p/1390777#M71314</guid>
      <dc:creator>wri</dc:creator>
      <dc:date>2020-04-14T13:41:25Z</dc:date>
    </item>
  </channel>
</rss>

