- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
02-08-2024 07:31 AM
Hi,
I know there is some limitation with adding parameters in executing in commandline.
If I add an powershell script in Trust/elevate policy action with child process and try to run it showing access denied. however if i try to do same in command prompt it is working.
Is there specific limitation between command prompt and powershell ? is my understanding not correct?
Thanks
02-11-2024 06:38 PM
Hello @Surendran M ,
it's hard to answer that without a case and some logs... It really depends on your policy definitions and order.
can you open a case and provide the support info please? Support can take it on from there.
Thanks,
02-12-2024 01:55 AM
Hi @Ilan Tsanany
I have set of script which needs admin mode of powershell. Added those script in elevate policy with child process as well. however, the script is not working. My question is being script in elevated policy why it is not working.?
If i open PowerShell with Elevate if necessary, policy action and script not being part of any policy. if i execute the script it is working fine without issues.
I want to execute this script in adminmode of powershell is there any bestway to do?
02-15-2024 03:56 AM
Hi @Surendran M
Would you be able to check the PowerShell execution policy to ensure that it allows scripts to be run with elevated privileges?
Also can you please check the content of the PowerShell script to ensure that it does not perform any actions that are restricted?
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!

