0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 7 months agoThe real magic wordsh.itjust.worksimagemessage-square44fedilinkarrow-up11.09K
arrow-up11.07KimageThe real magic wordsh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · 7 months agomessage-square44fedilink
minus-squareabrahambelch@programming.devlinkfedilinkarrow-up14·7 months agoPowerShell: right clicks and selects run as administrator, loses previous session
minus-square0x4E4F@sh.itjust.worksOPlinkfedilinkEnglisharrow-up1·edit-27 months agoWhy? Because GUI shell = session…
minus-squareBuelldozer@lemmy.todaylinkfedilinkarrow-up2arrow-down1·7 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.