Create taskbar shortcut to launch PowerShell as Administrator
I'm using Windows 10 and whenever I run PowerShell, I almost exclusively need to run it in Administrator mode, however the taskbar shortcut only seems to enable this by right-clicking on the icon and selecting Run as Administrator.
Is there a way to make the shortcut itself simply run as Administrator?
Yes, there is:
- Right-click the shortcut, then right-click Windows PowerShell and select Properties
- Click the Advanced button (on the Shortcut tab) and check Run as administrator
- Click OK twice.