microsoft / microsoft/sudo

Add PowerShell Native CmdLet alias for sudo

Open
#93 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature
Dominant language
Rust
Stars
5.9k
Forks
180
Avg merge
1d 7h
Merged PRs (30d)
2

Description

ITNOA

Description of the new feature / enhancement

I think Integration, Consistency and Ecosystem driven is keys of Major Software Company for way of success

I suggest you add some native PowerShell CmdLet equal to sudo and follow sprit of windows, not follow sprint of Linux, in other word sudo define in linux world something like below

sudo (Super User DO) command in Linux is generally used as a prefix for some commands that only superusers are allowed to run.

But in windows, we do not have Super User, we have Administrator, So I think we have to make some Windows Native command for doing similar to sudo in native way

for example PowerShell command can something like Escalate-Privilege or Run-AsAdministrator

Scenario when this would be used?

in all case sudo used, and in all PowerShell native script and SysAdmins that follows windows way

Supporting information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked PowerShell command documentation and inspect the existing sudo project entry points to understand how a native administrator-invocation command would fit. The issue does not name files or tests, and completion criteria for the proposed alias and its Windows behavior still need to be defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, rust
Domain
cli, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.