sudo icon indicating copy to clipboard operation
sudo copied to clipboard

Add support for PowerShell commands/aliases

Open DanielCr2020 opened this issue 1 year ago • 0 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

DanielCr2020 avatar Apr 25 '24 23:04 DanielCr2020