Trying to use a powershell recovery script, called via a bat file. Only problem is, the powershell needs to run as an admin, and I’m not sure how to get uptime to do that.Â
Â
If I run it manually (open a command window as administrator, call the bat file), it works as expected. When I go to test the script via uptime though, it fails. Suggestions on how to get the bat file to run as an admin?