PowerShell / PowerShell/vscode-powershell
Pass parameters to PowerShell.exe (specifically NonInteractive)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 547
- PR merge metrics
- No merged PRs in 30d
Description
PowerShell.exe supports various command-line flags. It would be beneficial to allow control over these arguments. Specifically, I want to run powershell.exe -NonInteractive. This is especially useful when powershell.debugging.createTemporaryIntegratedConsole is set to true so you get an isolated run with the exact environment you want.
I tried using the args setting in launch.json but that seems to pass parameters directly to my script, after powershell.exe has already been loaded (with parameters I have no control over).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how launch.json args are handled for the temporary integrated console and how PowerShell.exe is invoked. Confirm where script arguments are separated from executable flags. Done means users can configure PowerShell.exe flags such as -NonInteractive independently of script parameters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, typescript, vscode
- Domain
- developer-experience, devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100