Introducing Sudo for Windows We’re excited to announce the release of Sudo for Windows in Windows 11 Insider Preview Build 26052! Sudo for Windows is a new way for users to run elevated commands directly from an unelevated console session. It is an ergonomic and familiar solution for users who want to elevate a command without having to first open a new elevated console.
Finally. Although, I bet it’s going to be one of these looongass PS OO commands, with an alias tied to it.
Probably
Escalate-RegularUserPrivelige
and smack a mandatory-Confirm
argument in there as well, just to be annoying.The trick to powershell is to make incredibly liberal use of tab completion to speed yourself up. Or make aliases for commands you use really often.