PowerShell Script that Relaunches as Admin
If were following good security practices we run our Windows system with UAC enabled. This means that if you forget to launch your PowerShell prompt as Administrator when you run a script that requires administrative privilege then that script will fail. It would be nice to build a mechanism into …
