Is there a way to elevate certain powershell commands? Ex, if users want to run update-help they can't because that requires writing to the windows system directory. I'm aware PS7 doesn't have that issue. Trying to find a solution for older PS versions

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Is there a way to elevate certain powershell commands? Ex, if users want to run update-help they can't because that requires writing to the windows system directory. I'm aware PS7 doesn't have that issue. Trying to find a solution for older PS versions

L0 Member
1 accepted solution

Accepted Solutions

L2 Linker

Hi @Carlos Roman​,

Currently Elevation is applied only on the application level. Once elevation was given Elevation, the application will run elevated as a whole. That said, you can use create a script a with he required commands and then elevated the script.

View solution in original post

1 REPLY 1

L2 Linker

Hi @Carlos Roman​,

Currently Elevation is applied only on the application level. Once elevation was given Elevation, the application will run elevated as a whole. That said, you can use create a script a with he required commands and then elevated the script.

  • 1 accepted solution
  • 362 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!