# Sign powershell script for dynamic folder

**URL:** <https://community.royalapps.com/t/sign-powershell-script-for-dynamic-folder/2097>\
**Category:** Royal TS (for Windows)\
**Created:** [April 8, 2025, 1:56pm UTC](https://community.royalapps.com/t/sign-powershell-script-for-dynamic-folder/2097 "2025-04-08T13:56:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mer](https://community.royalapps.com/letter_avatar_proxy/v4/letter/m/65b543/32.png) [@mer](https://community.royalapps.com/u/mer)\
**Post date:** [April 8, 2025, 1:56pm UTC](https://community.royalapps.com/t/sign-powershell-script-for-dynamic-folder/2097/1 "2025-04-08T13:56:36Z")

</div>

Hello, i try to use the script from github for extracting connections from Wallix and populate it in a dynmic folder.

Everything is fine as long as no execution policy is crashing my script.

Do you might have any recommendations how to handle this? Setting the execution policy globally is not an option for us.

---

<div class="post-metadata">

**Author:** ![stefan\_koell](https://community.royalapps.com/user_avatar/community.royalapps.com/stefan_koell/32/9_2.png) [@stefan\_koell](https://community.royalapps.com/u/stefan_koell)\
**Post date:** [April 8, 2025, 2:49pm UTC](https://community.royalapps.com/t/sign-powershell-script-for-dynamic-folder/2097/2 "2025-04-08T14:49:33Z")

</div>

Hi!

I already responded in the other thread. You can adapt the script to use environment variables instead of replacement token and sign that script. This way, the script doesn’t really change before it’s executed.

Regards,  
Stefan
