RunAS for PowerShell is pretty easy. This opens the ISE:
sl "c:\" $cred = Get-Credential $Prog = "c:\windows\system32\WindowsPowerShell\v1.0\PowerShell_ISE.exe" Start-Process $Prog -Credential $cred
"Yeah. I wrote a script that will do that."
RunAS for PowerShell is pretty easy. This opens the ISE:
sl "c:\" $cred = Get-Credential $Prog = "c:\windows\system32\WindowsPowerShell\v1.0\PowerShell_ISE.exe" Start-Process $Prog -Credential $cred