To always run a script with Administrative Privileges, copy the contents of the sample-run-as-admin.ps1 to the beginning of your .ps1 file. If UAC is turned on, you will be prompted to continue. If ...