Skip to content

PowerShell in Applications Mode - #153

Merged
Joey Aiello (joeyaiello) merged 6 commits into
PowerShell:masterfrom
BrucePay:brucepay_PAM
Mar 10, 2020
Merged

Joey Aiello (joeyaiello) merged 6 commits into
PowerShell:masterfrom
BrucePay:brucepay_PAM

Conversation

@BrucePay

Copy link
Copy Markdown
Contributor

PowerShell in Applications Mode proposes aset of features to allow a more light-weight PowerShell to be used in scenarios other than the traditional interactive shell.


This type of PowerShell deployment differs from traditional interactive applications in a number if ways:
- The functionality is likely predefined – the application is composed of a known set of scripts and modules.
- This implies that only a subset of the PowerShell functionality is required. For example, the help and formatting subsystems might be unnecessary. The net result would be faster startup, reduced footprint and consequently a reduced security Surface.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As for Help System, last days I am trying decouple it to separate dll and module from engine. I believe this is more flexible. Progress is about 80%. There is some problems with internal API problems that can be solved step-by-step PRs. I am ready to push initial PR.


```JSON
{
"Action" = "StartPipeline",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

= is not valid json.

should be

{
  "Action": "StartPipeline",
  "Pipeline": "get-process | sort -descending | select -first 5"
}

Same for the other JSON examples

@markekraus

Copy link
Copy Markdown

I would like to see a full JSON Schema for the proposed input and output.

@joeyaiello

Copy link
Copy Markdown
Contributor

Bruce Payette (@BrucePay) let's talk about what you want to do with this one at the next @PowerShell/powershell-committee meeting.

@joeyaiello
Joey Aiello (joeyaiello) merged commit d621252 into PowerShell:master Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants