# Invoke Powershell script

**URL:** <https://developer.sailpoint.com/discuss/t/invoke-powershell-script/14582>\
**Category:** SHF Discussion and Questions\
**Tags:** powershell-sdk, workflows, sailpoint-identity-security\
**Created:** [July 18, 2023, 3:08pm UTC](https://developer.sailpoint.com/discuss/t/invoke-powershell-script/14582 "2023-07-18T15:08:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandramohans27](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@chandramohans27](https://developer.sailpoint.com/discuss/u/chandramohans27)\
**Post date:** [July 18, 2023, 3:08pm UTC](https://developer.sailpoint.com/discuss/t/invoke-powershell-script/14582/1 "2023-07-18T15:08:45Z")

</div>

Hi,

Is there an option available to invoke powershell script whenever the campaign activated is triggered?

or atleast to use the powershell script in my workflow?

---

<div class="post-metadata">

**Author:** ![atarodia](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@atarodia](https://developer.sailpoint.com/discuss/u/atarodia)\
**Post date:** [July 18, 2023, 3:21pm UTC](https://developer.sailpoint.com/discuss/t/invoke-powershell-script/14582/2 "2023-07-18T15:21:12Z")

</div>

Hi,

You will have to create custom HTTP endpoint outside of IdentityNow that will trigger the PowerShell script and you can call that HTTP endpoint in `HTTP Request` action of workflow.

---

<div class="post-metadata">

**Author:** ![chandramohans27](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@chandramohans27](https://developer.sailpoint.com/discuss/u/chandramohans27)\
**Post date:** [July 18, 2023, 4:56pm UTC](https://developer.sailpoint.com/discuss/t/invoke-powershell-script/14582/3 "2023-07-18T16:56:10Z")

</div>

@atarodia

Thanks for the reply.

if you have already tried creating a HTTP endpoint outside of Identitynow, could you please help me in this?

---

<div class="post-metadata">

**Author:** ![ksbagade](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/ksbagade/32/3306_2.png) [@ksbagade](https://developer.sailpoint.com/discuss/u/ksbagade)\
**Post date:** [July 20, 2023, 7:40pm UTC](https://developer.sailpoint.com/discuss/t/invoke-powershell-script/14582/4 "2023-07-20T19:40:46Z")

</div>

Hi @chandramohans27,

You can look into code integration platforms like [Pipedream](https://pipedream.com/) or implement it using existing cloud platforms (AWS Lambda, Azure Functions, etc.) as a starting point.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [September 18, 2023, 7:41pm UTC](https://developer.sailpoint.com/discuss/t/invoke-powershell-script/14582/5 "2023-09-18T19:41:41Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
