Skip to content

Commit 37750eb

Browse files
JeaSessionConfiguration: Adding LanguageMode & ExecutionPolicy (#49)
* Adding LanguageMode Adding Execution Policy * Updated ChangeLog Co-authored-by: Raimund Andrée [MSFT] <[email protected]>
1 parent e0c5304 commit 37750eb

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
### Added
99

10+
- Adding LanguageMode and ExecutionPolicy to JeaSessionConfiguration.
1011
- Adding herited classes that contains helper methods.
1112
- Adding Reason class.
1213
- Adding Reasons property in JeaSessionConfiguration and JeaRoleCapabilities resources.

source/Classes/JeaSessionConfiguration.ps1

+11
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,17 @@ class JeaSessionConfiguration:SessionConfigurationUtility
125125
[Dscproperty()]
126126
[string[]] $AssembliesToLoad
127127

128+
## The optional language mode to load
129+
## Can be 'NoLanguage' (recommended), 'RestrictedLanguage', 'ConstrainedLanguage', or 'FullLanguage' (Default)
130+
[Dscproperty()]
131+
[string] $LanguageMode
132+
133+
# The optional ExecutionPolicy
134+
# Execution policy to apply when applied to a session
135+
# 'Unrestricted', 'RemoteSigned', 'AllSigned', 'Restricted', 'Default', 'Bypass', 'Undefined'
136+
[Dscproperty()]
137+
[string] $ExecutionPolicy
138+
128139
## The optional number of seconds to wait for registering the endpoint to complete.
129140
## 0 for no timeout
130141
[Dscproperty()]

0 commit comments

Comments
 (0)