Forum Discussion
Colin_McCrae
9 years agoCommunity Hero
Some suggestions here: http://stackoverflow.com/questions/7690994/powershell-running-a-command-as-administrator
I've done self-elevation to Admin rights in BATCH file scripts. But never Powershell. The concept looks similar through. Add a block of script at the start that checks the current rights and elevates if required. That's how the BATCH version works too.
Related Content
- 6 years ago
- 11 months ago
Recent Discussions
Working with Visual Test
Solved2 days agoBypassing TC engine
Solved2 days ago