In Windows Powershell you can use Start-Process command with option -Verb RunAs to start and elevated process.
Here is my sudo function example:
function sudo {
Start-Process @args -verb runas
}
Ex: Open hosts file as Admin in notepad
sudo notepad C:\Windows\System32\drivers\etc\hosts