Add support for PowerShell commands/aliases
DanielCr2020 opened this issue · comments
Description of the new feature / enhancement
Running sudo Get-ChildItem
, for example, should run the command Get-ChildItem with elevated privileges, instead of failing with Command not found.
This could also work for aliases as well, such as sudo del
--> sudo Remove-Item
or sudo kill
--> sudo Stop-Process
Scenario when this would be used?
Wanting to quickly get to elevated privileges from a PowerShell window, instead of having to run the same command in command prompt. It would make it easier to run all commands with elevated privileges instead of having to use command prompt or the winget package.
Supporting information
No response
Hey there! Thanks for the feedback - I agree. We are tracking the work we need to do to enable these exact types of experiences in another thread. This is great feedback!
/dup #5
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!