Powershell – run as admin (elevated permissions)
Every now and then I find myself in need of running a powershell script with administrative privileges (i.e. to set a registry key). And since every time I end up doing a quick search, I thought I’ll keep this small snippet handy 🙂 Simply put this at the beginning of the .ps1 file, andRead more about Powershell – run as admin (elevated permissions)[…]