Skip to content

Add first draft of local session configuration#320

Merged
JamesWTruher merged 2 commits intoPowerShell:masterfrom
PaulHigin:local-session-config
Nov 16, 2022
Merged

Add first draft of local session configuration#320
JamesWTruher merged 2 commits intoPowerShell:masterfrom
PaulHigin:local-session-config

Conversation

@PaulHigin
Copy link
Copy Markdown
Contributor

No description provided.

GroupManagedServiceAccount
RoleDefinitions
RequiredGroups
PowerShellVersion
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.

Perhaps it makes sense to support PowerShellVersion specially in server mode.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This RFC is just for local configuration and doesn't affect server mode.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Lines 97 and 103 seem to indicate this is all about server mode??

### PowerShell `SessionConfiguration` Policy Setting

Additional to the `-ConfigurationFile` command line switch, session configuration could also be settable via Windows Group Policy or PowerShell configuration file.
The policy session configuration would be specified by either a configuration file path or a string defining the configuration.
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.

I think Windows Group Policy is useful.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I agree. But it was decided that this is not needed initially, and could be added later.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Perhaps mention that after Configuration Through Application Control Policies??

@JamesWTruher JamesWTruher added Experimental - Approved This RFC has been approved for a code submission as an experimental feature in PS/PS Committee-Reviewed and removed Experimental - Approved This RFC has been approved for a code submission as an experimental feature in PS/PS labels Nov 16, 2022
@JamesWTruher
Copy link
Copy Markdown
Contributor

@PaulHigin please update this to ensure it reflects reality

…guration.md to Final/RFC0064-PowerShell-LocalSession-Configuration.md

finalize rfc
@JamesWTruher
Copy link
Copy Markdown
Contributor

@PowerShell/powershell-committee
reviewed and approved
available now in 7.3

@JamesWTruher JamesWTruher merged commit 0db9874 into PowerShell:master Nov 16, 2022
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