AnsweredAssumed Answered

How to run powershell script in elevated mode i.e. "Run as administrator"

Question asked by ankgupta4 on Jul 6, 2017
Latest reply on Jul 6, 2017 by MWNiebuhr

Hi Team,

I have to perform a task using powershell script. But the requirement is that I have to run it in elevated mode "Run as administrator". While trying to run the powershell script using "Run Script" operator, I am getting the error "Access Denied". While running the script manually without elevated mode, I am getting the same error "Access Denied" but on running the script on elevated mode manually runs successfully.

Kindly let me know how to run the script in elevated mode of Powershell.

 

Thanks

Ankur Gupta

ankgupta4@gmail.com

Outcomes