Sign in to follow this  
Followers 0
MrBoo

Launch 2nd Script as 'Peon' from 1st which has 'Admin'

2 posts in this topic

Hi folks,

Just a quick one (I hope)...

I'm running a script with #RequireAdmin, and it needs to call another script, which HAS to run without Admin privileges; is there a straightforward way I can call the 2nd script from the 1st without it inheriting the admin privileges?

Regards,

Rob.

Share this post


Link to post
Share on other sites



Use RunAsSet() to Run() the second script.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0