• groet@feddit.de
        cake
        link
        fedilink
        arrow-up
        2
        ·
        9 months ago

        That’s what I wxpect. But with one more layer. In the end it’s going to be system32/elevator.exe which is called by Invoke-Elevation in ps which is aliased to sudo.

        It’s supposed to be available in cmd and batch so it must be callable directly

        • laurelraven@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          I was more postulating what they probably would do if it were implemented directly in PowerShell

          But, as it turns out, it’s just sudo.exe in the command path