"Sudo !!" invokes previously executed command with administrator privileges in *nix shell. Is there an equivalent in PowerShell?
|
feedback
|
|
You can run a command as another user using
To shorten that up a bit, you can do some magic with aliases. Take a look at this Technet article for more info. EDIT: One caveat - | |||||||||
feedback
|