0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 6 months agoThe real magic wordsh.itjust.worksimagemessage-square44fedilinkarrow-up11.08Karrow-down117
arrow-up11.07Karrow-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-square0x4E4F@sh.itjust.worksOPlinkfedilinkEnglisharrow-up1·edit-26 months agoWhy? Because GUI shell = 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.
PowerShell: right clicks and selects run as administrator, loses previous session
Why? Because GUI shell = 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.