• rtxn@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      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"
      
  • rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    7 months ago

    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.