# Privilege Access Gateway - Powershell shell

**URL:** <https://developer.sailpoint.com/discuss/t/privilege-access-gateway-powershell-shell/190702>\
**Category:** SHF Discussion and Questions\
**Tags:** identity-security-cloud\
**Created:** [December 14, 2025, 1:29am UTC](https://developer.sailpoint.com/discuss/t/privilege-access-gateway-powershell-shell/190702 "2025-12-14T01:29:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![248048](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/248048/32/18898_2.png) [@248048](https://developer.sailpoint.com/discuss/u/248048)\
**Post date:** [December 14, 2025, 1:29am UTC](https://developer.sailpoint.com/discuss/t/privilege-access-gateway-powershell-shell/190702/1 "2025-12-14T01:29:51Z")

</div>

Hi All,

I am looking for help in configuring workflow to run powershell script present in IQ service.

I have created new privilege VA cluster, VA is having connectivity with IQservice (curl working).

Created workflow with Windows Server action.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/e/a/ea94b9f1e15ac49078d949400891ef7d5dc5fbfa.png)  
Running powershell

 ![A screenshot of a computer program AI-generated content may be incorrect.](https://global.discourse-cdn.com/sailpoint/original/3X/1/0/10115a428b9b66aa18771930d10cdac1ae881cd0.png)

 ![A screenshot of a computer error AI-generated content may be incorrect.](https://global.discourse-cdn.com/sailpoint/original/3X/2/6/2639978269fd2cd2004bfc8acb46a4a85a1bfa74.png)

I am getting below error while trying to run powershell script. I can confirm powershell script exists in IQServer

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/3/0/30ed2aa173f904d248ebb2f6a5484908497a94ee.png)

---

<div class="post-metadata">

**Author:** ![lampard08](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/lampard08/32/32646_2.png) [@lampard08](https://developer.sailpoint.com/discuss/u/lampard08)\
**Post date:** [December 14, 2025, 1:44pm UTC](https://developer.sailpoint.com/discuss/t/privilege-access-gateway-powershell-shell/190702/2 "2025-12-14T13:44:18Z")

</div>

Check the file permissions and also the file is unblocked from execution if it’s downloaded.

---

<div class="post-metadata">

**Author:** ![eberteo](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/eberteo/32/26553_2.png) [@eberteo](https://developer.sailpoint.com/discuss/u/eberteo)\
**Post date:** [December 15, 2025, 8:23pm UTC](https://developer.sailpoint.com/discuss/t/privilege-access-gateway-powershell-shell/190702/3 "2025-12-15T20:23:51Z")

</div>

1. I would say, check the file actually exists with the right name under the desired filepath. I don’t see permission error.
2. Are you working under the right VA?

---

<div class="post-metadata">

**Author:** ![248048](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/248048/32/18898_2.png) [@248048](https://developer.sailpoint.com/discuss/u/248048)\
**Post date:** [December 17, 2025, 12:09am UTC](https://developer.sailpoint.com/discuss/t/privilege-access-gateway-powershell-shell/190702/4 "2025-12-17T00:09:32Z")

</div>

Hi @eberteo - Thanks a lot. My mistake i was looking into IQ server and instead of server configured in Windows Server action. Now i am able to execute the powershell on windows server.  
Do you know how to pass parameters to Powershell during execution. I tried this and got error.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/1/1/11b310712766fec8821d845dd3a33db736c6a13d.png)

---

<div class="post-metadata">

**Author:** ![eberteo](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/eberteo/32/26553_2.png) [@eberteo](https://developer.sailpoint.com/discuss/u/eberteo)\
**Post date:** [December 17, 2025, 5:12am UTC](https://developer.sailpoint.com/discuss/t/privilege-access-gateway-powershell-shell/190702/5 "2025-12-17T05:12:57Z")

</div>

Hey Girish,

Good to hear you were able to fix it.

Set you params in the ps1 and don’t use dash -. Just samaccountname. if you have further errors, please share the logs.

---

<div class="post-metadata">

**Author:** ![248048](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/248048/32/18898_2.png) [@248048](https://developer.sailpoint.com/discuss/u/248048)\
**Post date:** [January 1, 2026, 12:30pm UTC](https://developer.sailpoint.com/discuss/t/privilege-access-gateway-powershell-shell/190702/6 "2026-01-01T12:30:06Z")

</div>

Thanks a lot. Eberth.

---

<div class="post-metadata">

**Author:** ![DGowda](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@DGowda](https://developer.sailpoint.com/discuss/u/DGowda)\
**Post date:** [January 5, 2026, 4:58am UTC](https://developer.sailpoint.com/discuss/t/privilege-access-gateway-powershell-shell/190702/7 "2026-01-05T04:58:16Z")

</div>

Hi @248048 -Could you please let me know the path were you have placed the ps script?

---

<div class="post-metadata">

**Author:** ![248048](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/248048/32/18898_2.png) [@248048](https://developer.sailpoint.com/discuss/u/248048)\
**Post date:** [January 8, 2026, 10:48am UTC](https://developer.sailpoint.com/discuss/t/privilege-access-gateway-powershell-shell/190702/8 "2026-01-08T10:48:18Z")

</div>

Powershell script is in C:\Sailpoint\IQService directory.

 ![image-1765536751744-mo40vsn51](https://global.discourse-cdn.com/sailpoint/original/3X/2/6/2639978269fd2cd2004bfc8acb46a4a85a1bfa74.png)

---

<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:** [March 9, 2026, 10:48am UTC](https://developer.sailpoint.com/discuss/t/privilege-access-gateway-powershell-shell/190702/9 "2026-03-09T10:48:26Z")

</div>

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