0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 6 months agoThe real magic wordsh.itjust.worksimagemessage-square44fedilinkarrow-up11.07Karrow-down118
arrow-up11.05Karrow-down1imageThe real magic wordsh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 6 months agomessage-square44fedilink
minus-squareabrahambelch@programming.devlinkfedilinkarrow-up14·6 months agoPowerShell: right clicks and selects run as administrator, loses previous session
minus-squareBuelldozer@lemmy.todaylinkfedilinkarrow-up2arrow-down1·6 months agoToday 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.
minus-square0x4E4F@sh.itjust.worksOPlinkfedilinkEnglisharrow-up1·edit-26 months agoWhy? Because GUI shell = session…
PowerShell: right clicks and selects run as administrator, loses previous session
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.
That’s cultural appropriation.
Why? Because GUI shell = session…