You must log in or register to comment.
It’s weird that its just “sudo” and not “Get-Admin-Acces”
No, it really is super simple, just:
Set-HostElevatedPrivilege -SubstituteUser Administrator -Privilege [Microsoft.Automation.HostPrivilege]::new("Administrators", $(hostname)) -Credential $(Get-Credential) -Command "ping 1.1.1.1"
FINALLY! It only took them WAY TOO MANY FUCKING YEARS! Good job catching up to literal decades-old practices, guys! How do you like living in the 1990s?
Man, I’ll almost miss having to run a VNC session in parallel with WinRM to click on the UAC popup.
“Look what they need to mimic a fraction of our power!”
— something, something Arch BTW
It took them just under half a century! Good job!