You can start Powershell and Powershell-ISE as an Administrator, from within a script by starting the script with this rule:
1 |
Start-Process powershell -Verb runAs |
1 |
Start-Process powershell_ise -verb runas |