How to run script as administrator? [duplicate]

The trick is to edit the Shortcut target to add powershell.exe in front of the script path so it looks something like this:

powershell.exe -file "H:\Powershell\MyPoshScript.ps1"

Click OK, then go back into Properties and the "Run as Administrator" box will now be changeable.

(note: when I did this, Windows fixed the powershell.exe reference to the full path.