Powershell eleva -se ao administrador dentro de uma função
#To run an entire PowerShell session prompting for UAC:
Start-Process powershell.exe -Verb runAs
Super Dude
#To run an entire PowerShell session prompting for UAC:
Start-Process powershell.exe -Verb runAs