Is there any way to disable the need to run in an elevated context for a powershell script? Anything goes.
I am setting up a test environment and during some of the tests I must reconfigure parts of the OS (notably: an IIS instance) - and windows keeps asking to run the script from an elevated process.
Those are test machines. As such, "anything goes", including turning off UAC - which I did, but PowerShell still asks.
Administrator
account to log on, or just open one elevated PowerShell session and start all your tests from there.