- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-12-2025 05:08 AM
hi,
i dont want to give elevated privilege whole powershell instead of that i want to give exact parameter, like in the picture but nor working as i desired. Pls assist.
02-12-2025 07:46 AM
Have you activated child processes?
02-12-2025 09:36 PM
I dont see child process activation rule or config in agent config side for Windows.
02-12-2025 10:37 PM
Its in the settings where you define a application. For example in a application group:
Down left corner
02-12-2025 11:06 PM
yes i know that, but i don't want to give elevated access whole powershell.exe because this time user can execute any application over the powershell with admin rights. I want to give admin execution access to only specific parameter in powershell. Is that possible ? if yes, pls help me
02-12-2025 11:34 PM
if it's a particular powershell script you are trying to give admin rights for ,ensure you select the definition type as Script and provide the exact file name.it should work
02-13-2025 04:26 AM
Hi @Maharram Najafov ,
Did you check in the Events Management which event is created when you run that command.
Based on that, you will be able to create a policy in the most accurate way.
Thanks,
02-13-2025 04:39 AM
this is not possible i think, because i open powershell and after run specific command.
02-17-2025 05:29 AM
If they ran a PS1. script instead - then the events manager would pick up the parameter for the code so then you can add that specific ps1 script to the Application policy and include a checksum so the script can't be manipulated there after? I guess you're looking to let users run specific scripts but not run powershell as a whole.
02-17-2025 05:29 AM
If they ran a PS1. script instead - then the events manager would pick up the parameter for the code so then you can add that specific ps1 script to the Application policy and include a checksum so the script can't be manipulated there after? I guess you're looking to let users run specific scripts but not run powershell as a whole.
02-20-2025 02:57 AM
I think AirkR gave me the answer from a previous post, so reposting for you if it's useful in our case
https://docs.cyberark.com/epm/24.10.0/en/content/policies/deployscripts-newui.htm
https://docs.cyberark.com/epm/24.10.0/en/content/policies/scriptdistributionpolicies-newui.htm#
https://docs.cyberark.com/epm/latest/en/content/policies/executescipts-newui.htm
How to appropriately map command-line arguments (PowerShell/Command Prompt) for thousands of users?
Correct me if I am wrong, but I understand that the following is Best Practice for elevating commands:
However, this does not seem to work efficiently for thousands of users running hundreds of different commands. Is there a better approach to this? Any suggestions are appreciated.
Cyberark response:
You’re correct that the approach you’ve described is a common best practice for managing command-line arguments in EPM. However, when scaling to thousands of users with diverse command needs, this method can become inefficient.
Here are few approaches you can try,
02-20-2025 02:57 AM
I think AirkR gave me the answer from a previous post, so reposting for you if it's useful in our case
https://docs.cyberark.com/epm/24.10.0/en/content/policies/deployscripts-newui.htm
https://docs.cyberark.com/epm/24.10.0/en/content/policies/scriptdistributionpolicies-newui.htm#
https://docs.cyberark.com/epm/latest/en/content/policies/executescipts-newui.htm
How to appropriately map command-line arguments (PowerShell/Command Prompt) for thousands of users?
Correct me if I am wrong, but I understand that the following is Best Practice for elevating commands:
However, this does not seem to work efficiently for thousands of users running hundreds of different commands. Is there a better approach to this? Any suggestions are appreciated.
Cyberark response:
You’re correct that the approach you’ve described is a common best practice for managing command-line arguments in EPM. However, when scaling to thousands of users with diverse command needs, this method can become inefficient.
Here are few approaches you can try,
02-20-2025 06:11 AM
Hi @Maharram Najafov
Since several community members answered your question, please let us know if these solutions addressed your query.
If so, it would be great if you could mark the most helpful response as 'Select as Best' to assist other community members with similar questions.
Thank you, Liad.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

