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

linuxmemes

20880 readers
5 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 15 points 9 months ago (5 children)

But it needs to be a verb like get set do

[–] [email protected] 19 points 9 months ago (4 children)

Do-As "NT Authority/System"

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

[–] [email protected] 15 points 9 months ago (2 children)

Probably something more like "Invoke-Command -AsAdmin"

Which would be aliased to sudo

[–] [email protected] 2 points 9 months ago (1 children)

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

[–] [email protected] 1 points 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

load more comments (1 replies)
load more comments (1 replies)