1088
Sudo is coming to windows (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] laurelraven@lemmy.blahaj.zone 15 points 4 months ago

Probably something more like "Invoke-Command -AsAdmin"

Which would be aliased to sudo

[-] groet@feddit.de 2 points 4 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 1 points 4 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

this post was submitted on 08 Feb 2024
1088 points (98.5% liked)

linuxmemes

19671 readers
122 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS