<?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 How to launch PowerShell after password rotation? in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-launch-powershell-after-password-rotation/m-p/1395412#M75074</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The documentation for creating a custom plugin to launch a PowerShell script is woefully deficient in necessary steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The requirement I have is to launch a PowerShell script upon successful Change or Reconcile of a managed account.&lt;/P&gt;&lt;P&gt;The plugin Generator utility is inadequate for this task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I copy one of the Dependent platforms and associate the platform as a usage in another then I can see the platform as a usage tab in Account properties using the classic view, but I don't see a way to link the script in that tab. I do have populated process and prompt ini files associated with the dependent platform and they are in the bin folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like I'm missing some linkage or vital information to launch the script after a password change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen references to copying one of the Service Account platforms that uses CyberArk.TPC.exe but I'm not finding any in our 14.2.x environment.&lt;/P&gt;&lt;P&gt;I also duplicated a Unix SSH platform and changed its type to Usage using the drop-down selector, but it doesn't show up as a Dependent platform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have a step by step document describing how to launch a PowerShell script after a change or reconcile operation that can be shared?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update - the primary account is an Active Directory managed account&lt;/P&gt;</description>
    <pubDate>Mon, 03 Aug 2026 16:46:22 GMT</pubDate>
    <dc:creator>D.Demshock823557</dc:creator>
    <dc:date>2026-08-03T16:46:22Z</dc:date>
    <item>
      <title>How to launch PowerShell after password rotation?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-launch-powershell-after-password-rotation/m-p/1395412#M75074</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The documentation for creating a custom plugin to launch a PowerShell script is woefully deficient in necessary steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The requirement I have is to launch a PowerShell script upon successful Change or Reconcile of a managed account.&lt;/P&gt;&lt;P&gt;The plugin Generator utility is inadequate for this task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I copy one of the Dependent platforms and associate the platform as a usage in another then I can see the platform as a usage tab in Account properties using the classic view, but I don't see a way to link the script in that tab. I do have populated process and prompt ini files associated with the dependent platform and they are in the bin folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like I'm missing some linkage or vital information to launch the script after a password change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen references to copying one of the Service Account platforms that uses CyberArk.TPC.exe but I'm not finding any in our 14.2.x environment.&lt;/P&gt;&lt;P&gt;I also duplicated a Unix SSH platform and changed its type to Usage using the drop-down selector, but it doesn't show up as a Dependent platform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have a step by step document describing how to launch a PowerShell script after a change or reconcile operation that can be shared?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update - the primary account is an Active Directory managed account&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2026 16:46:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-launch-powershell-after-password-rotation/m-p/1395412#M75074</guid>
      <dc:creator>D.Demshock823557</dc:creator>
      <dc:date>2026-08-03T16:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch PowerShell after password rotation?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-launch-powershell-after-password-rotation/m-p/1395413#M75075</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The missing piece was adding data for the dependency. Meaning I successfully linked the dependent platform but did not add anything for the dependency. Because I used a Windows Service account dependent platform to duplicate, I needed to add something for the service and that did not have to be an actual service, just something to link as a dependency in order to be able to leverage the process and prompt ini files. Fake name for the service, localhost as the address and No for Restart Service is what was used for the dependency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll update this thread with the actual steps followed to successfully launch a PowerShell script after a reconcile or change operation on an Active Directory managed account.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2026 18:35:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-launch-powershell-after-password-rotation/m-p/1395413#M75075</guid>
      <dc:creator>D.Demshock823557</dc:creator>
      <dc:date>2026-08-03T18:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to launch PowerShell after password rotation?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-launch-powershell-after-password-rotation/m-p/1395414#M75076</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The steps I followed:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Duplicated a Windows Domain with LDAP platform to manage a domain account.&lt;UL&gt;&lt;LI&gt;Onboarded the domain account and tested password rotation.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Duplicated a Windows Service platform from Service Dependent platforms.&lt;UL&gt;&lt;LI&gt;Edited the Windows Service platform with removal of the existing dll and adding CyberArk.TPC.exe as the executable.&lt;/LI&gt;&lt;LI&gt;Added Additional Policy Settings and in there configured the bin\your_Custom_Process.ini and bin\your_Custom_Prompts.ini to match what will be placed in the CPM bin folder.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Added the custom process and prompts ini files to the CPM bin folder.&lt;/LI&gt;&lt;LI&gt;Edited the Windows Domain with LDAP duplicated platform, under Usages, add a new usage and the name will be the name of the duplicated Windows Service duplicated platform.&lt;/LI&gt;&lt;LI&gt;Edit the domain account in Classic View and select Add under the tab with the name of the new service dependency.&lt;UL&gt;&lt;LI&gt;Enter a name for the service. The name can be anything you want and is not related to an actual running service.&lt;/LI&gt;&lt;LI&gt;Enter localhost for the address.&lt;/LI&gt;&lt;LI&gt;Select the box next to Restart Service and select No in the drop-down.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my particular setup the process ini will launch the PowerShell script and the prompts ini is configured with the success or failure codes from the PowerShell script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when the domain account password is rotated the service dependency is triggered which launches the PowerShell script via the process ini linked to the service dependent platform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notes - for the dependency you should duplicate a Dependent platform. Use the Administration--Platform Management link vs the Administration--Configuration Options--Platform Management link. Choose the Dependents tab.&lt;/P&gt;&lt;P&gt;Although you can change the Policy Type of platforms using the drop-down option to Usage from Regular, it actually doesn't change the base type, target platform vs service platform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2026 12:11:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-launch-powershell-after-password-rotation/m-p/1395414#M75076</guid>
      <dc:creator>D.Demshock823557</dc:creator>
      <dc:date>2026-08-11T12:11:11Z</dc:date>
    </item>
  </channel>
</rss>

