<?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: Custom Script Usages to Execute After Password Change Tasks in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319815#M19381</link>
    <description>&lt;P&gt;I had done this using the custom powershell.exe by CyberArk, using this you can write ur own Custom. Ps1 scripts with logic and they get executed. My scenario was to login to server and run specific scripts as usages. Try requesting this customer powershell.exe if you can get it then it's easy. We got it as CyberArk developed some other custom plugin for us and it was also using this  custom powershell&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2019 20:36:23 GMT</pubDate>
    <dc:creator>AnkushA</dc:creator>
    <dc:date>2019-10-02T20:36:23Z</dc:date>
    <item>
      <title>Custom Script Usages to Execute After Password Change Tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319813#M19379</link>
      <description>&lt;P&gt;Trying to get a handle on custom usages as I need some things to execute after a password has changed. A lot of these are handled by existing usages (services, configs, scheduled tasks), but a few are very specific and not covered by out-of-the-box usages. I can easily write &lt;B&gt;PowerShell scripts&lt;/B&gt; to do these tasks if they are passed the password, but am unsure how to configure a usage to launch a script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see in Usages where you can define a &lt;B&gt;ScriptName &lt;/B&gt;and &lt;B&gt;ScriptEngine&lt;/B&gt;, but am not sure what other requirements there are. Is there any documentation on this? I couldn't find any besides the generic &lt;B&gt;CPM Plug-in&lt;/B&gt; info. Do I just place a script in with the CPM dlls and pass it parameters in the &lt;B&gt;ScriptName &lt;/B&gt;field?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 19:38:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319813#M19379</guid>
      <dc:creator>drinkwater</dc:creator>
      <dc:date>2019-10-02T19:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Script Usages to Execute After Password Change Tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319814#M19380</link>
      <description>&lt;P&gt;I had done this using the custom powershell.exe by CyberArk, using this you can write ur own Custom. Ps1 scripts with logic and they get executed. My scenario was to login to server and run specific scripts as usages. Try requesting this customer powershell.exe if you can get it then it's easy. We got it as CyberArk developed some other custom plugin for us and it was also using this  custom powershell&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 20:36:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319814#M19380</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-10-02T20:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Script Usages to Execute After Password Change Tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319815#M19381</link>
      <description>&lt;P&gt;I had done this using the custom powershell.exe by CyberArk, using this you can write ur own Custom. Ps1 scripts with logic and they get executed. My scenario was to login to server and run specific scripts as usages. Try requesting this customer powershell.exe if you can get it then it's easy. We got it as CyberArk developed some other custom plugin for us and it was also using this  custom powershell&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 20:36:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319815#M19381</guid>
      <dc:creator>AnkushA</dc:creator>
      <dc:date>2019-10-02T20:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Script Usages to Execute After Password Change Tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319816#M19382</link>
      <description>&lt;P&gt;Where did you find this custom powershell.exe usage?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 18:25:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319816#M19382</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-09-11T18:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Script Usages to Execute After Password Change Tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319817#M19383</link>
      <description>&lt;P&gt;Ask your Cyberark representative for it and they should be able to put it in your Secure File Exchange.&lt;/P&gt;&lt;P&gt;If you get it and have issues, let me know. I've mapped out mostly how it works as the documentation is not very precise.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 18:37:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319817#M19383</guid>
      <dc:creator>drinkwater</dc:creator>
      <dc:date>2020-09-11T18:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Script Usages to Execute After Password Change Tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319818#M19384</link>
      <description>&lt;P&gt;Will do. Much appreciated&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 18:40:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319818#M19384</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-09-11T18:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Script Usages to Execute After Password Change Tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319819#M19385</link>
      <description>&lt;P&gt;@David Drinkwater​&amp;nbsp;/  @Ankush Agarwal​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you setup the custom powershell usage? I got the files from my Cyberark rep, but I am hitting an issue trying to run a simple powershell script to write to a log file. can you provide screenshots of how your usage is setup?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 20:41:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319819#M19385</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-11-09T20:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Script Usages to Execute After Password Change Tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319820#M19386</link>
      <description>&lt;P&gt;There's a configuration PDF they should provide with the usage that talks about how to create it (clone a ConfigText usage I believe?) and add some Addition Policy Settings (&lt;I&gt;ChangeScript/PowershellArguments/ChangeArguments).&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two requirements I discovered (one documented, one undocumented) are:&lt;/P&gt;&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CPM must have .NET 3.5&lt;/P&gt;&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Usage’s Vault name MUST be 130 characters or less. (This is an insidious problem, because the error code is generic when it occurs. Your usage name can reach 130 pretty easily if you are using FQDNs.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The parameters (Change Arguments) I found passable are below:&lt;/P&gt;&lt;P&gt;-Account %masterpass\username%&lt;/P&gt;&lt;P&gt;-OldPassword %pmpass%&amp;nbsp;&lt;/P&gt;&lt;P&gt;-NewPassword %pmnewpass%&lt;/P&gt;&lt;P&gt;-UsageLogonUser %extrapass1\username%&lt;/P&gt;&lt;P&gt;-UsageLogonPass %pmextrapass1%&lt;/P&gt;&lt;P&gt;-UsageLogOnTo %extrapass1\logondomain%&lt;/P&gt;&lt;P&gt;-UsageAddress %address%&lt;/P&gt;&lt;P&gt;-UsageName %username%&lt;/P&gt;&lt;P&gt;-FilePath %filepath%&lt;/P&gt;&lt;P&gt;-Port %port%&lt;/P&gt;&lt;P&gt;-PasswordRegex %passwordregex%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Forbidden characters I blacklisted in passwords because they caused issues (some of these might work and certain ones, like $ only caused an issue when they were next to other special characters):&lt;/P&gt;&lt;P&gt;/&amp;lt;&amp;gt;"=;$&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 13:18:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319820#M19386</guid>
      <dc:creator>drinkwater</dc:creator>
      <dc:date>2020-11-10T13:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Script Usages to Execute After Password Change Tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319821#M19387</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To add clarity, while you certainly &lt;I&gt;can &lt;/I&gt;get this PowerShell script usage from your CyberArk representatives, there's another piece of information that is crucial to understand:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The PowerShell usage that was provided was a Controlled Availability (CA) plugin that was originally developed for another customer.  Because it was developed for another customer, this does NOT guarantee that it will work in its fashion for your environment and does not warrant support - meaning if you open a case with CyberArk support, you most likely won't get a whole lot of help.  If you want to test it out, then definitely discuss with your CyberArk rep to see if its worth the while.  However, if you want this plugin to be fully supported, you'll have to go the route of our Extensions team by completing a plugin request form that your CyberArk representative can provide.  This can and will likely incur a cost to be fully supported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 17:12:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319821#M19387</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-12-16T17:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Script Usages to Execute After Password Change Tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319822#M19388</link>
      <description>&lt;P&gt;Even I have created Power shall script (Plugin) to change the password using curl commend, received the error as per the screenshot I not sure I am missing something for configuration  have used unix for ssh platform but no luck, would be appreciated incase any one can assist on it. &lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Vy000018l0yjIAA.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/94753i03B523E621743739/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Vy000018l0yjIAA.png" alt="Field_Content_versions_oct20__068Vy000018l0yjIAA.png" /&gt;&lt;/span&gt;Received attached repeated error, &lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 10:28:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319822#M19388</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-01-20T10:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Script Usages to Execute After Password Change Tasks</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319823#M19389</link>
      <description>&lt;P&gt;powershall.exe is the by default in windows system , right or do we need any additional exe by cyberark?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 12:58:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/custom-script-usages-to-execute-after-password-change-tasks/m-p/1319823#M19389</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-01-20T12:58:15Z</dc:date>
    </item>
  </channel>
</rss>

