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.