PowerShell / PowerShell/vscode-powershell

Feature Request: Ability to open the terminal with elevated privilages

Open
#582 8 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Enhancement
Dominant language
TypeScript
Stars
1.9k
Forks
547
PR merge metrics
No merged PRs in 30d

Description

System Details
  • VSCode Version: Code 1.10.2 (8076a19fdcab7e1fc1707952d652f0bb6c6db331, 2017-03-08T14:02:52.799Z)
  • OS Version: Windows_NT ia32 10.0.14393
  • Extensions:
Extension Author Version
vscode-yaml-validation djabraham 0.0.1
githistory donjayamanne 0.2.0
chocolatey-vscode gep13 0.2.2
PowerShell ms-vscode 0.10.1
Chef Pendrica 0.6.2
Ruby rebornix 0.10.4
vscode-icons robertohuertasm 7.4.0
MDTools seanmcbreen 1.0.0
code-settings-sync Shan 2.6.1
code-spell-checker streetsidesoftware 1.0.1
Name                           Value
----                           -----
PSVersion                      5.1.14393.0
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.0
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
Issue Description

Is there a way to open the new PS Terminal as an admin/elevated privileges without opening VS Code as an admin? If not, can that be added into the extension so that I don't have to open VS Code as an admin in order to have admin rights in the terminal? Opening VS Code as an admin causes issues with opening/running other files from outside the application.

Attached Logs

Follow the instructions in the README
about capturing and sending logs.

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

No source file or test is named. Start by reviewing how the extension opens the PowerShell terminal and follow the README's problem-reporting instructions; done means users can open an elevated terminal without running VS Code as administrator, while other files still open normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, typescript
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.