• Saik0A
      link
      fedilink
      English
      arrow-up
      19
      ·
      1 year ago

      Do-As “NT Authority/System”

      Have to quote it in too… since there’s a space.

        • groet@feddit.de
          link
          fedilink
          arrow-up
          2
          ·
          1 year 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
            ·
            1 year 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