Tag: powershell

  • Powershell – run as admin (elevated permissions)

    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, and…

    Read More

    //