1068
The real magic word (sh.itjust.works)
submitted 2 months ago by 0x4E4F to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 14 points 2 months ago

PowerShell: right clicks and selects run as administrator, loses previous session

[-] [email protected] 1 points 2 months ago

Today you can use an inline "RunAs" command such as "runas /user:Administrator "powershell.exe -executionpolicy bypass -command Set-Location "$PWD"; .\install.ps1"

Or you could use Gsudo.

Additionally, Sudo will soon be available in Win11.

[-] [email protected] 4 points 2 months ago

That's cultural appropriation.

[-] 0x4E4F 1 points 2 months ago* (last edited 2 months ago)

Why? Because GUI shell = session...

this post was submitted on 10 May 2024
1068 points (98.4% liked)

linuxmemes

19849 readers
791 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