Skip to content

Commit 36f15b7

Browse files
author
Staffan Gustafsson
committed
Updating help for InitialSessionState
1 parent 36226df commit 36f15b7

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

PSParallel.sln

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ EndProject
2121
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "module", "module", "{9C879DF2-D1E2-4143-A95A-2374F8650F48}"
2222
ProjectSection(SolutionItems) = preProject
2323
module\en-US\about_PSParallel.Help.txt = module\en-US\about_PSParallel.Help.txt
24+
module\en-US\PSParallel.dll-Help.xml = module\en-US\PSParallel.dll-Help.xml
2425
module\PSParallel.psd1 = module\PSParallel.psd1
2526
EndProjectSection
2627
EndProject

module/en-US/PSParallel.dll-Help.xml

+34
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,18 @@
7373
<command:parameterValue required="false" variableLength="false">Int32</command:parameterValue>
7474
<dev:defaultValue/>
7575
</command:parameter>
76+
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="">
77+
<maml:name>InitialSessionState</maml:name>
78+
<maml:description>
79+
<maml:para>The session state used by the runspaces when invoking ScriptBlock. This provides the functions, variables, drives, etc available to the ScriptBlock.
80+
81+
By default, InitialSessionState.Create2() is used and the functions and variables from the current scope is then imported.
82+
</maml:para>
83+
</maml:description>
84+
<command:parameterValue required="true" variableLength="false">InitialSessionState</command:parameterValue>
85+
<dev:defaultValue>
86+
</dev:defaultValue>
87+
</command:parameter>
7688
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="named" aliases="">
7789
<maml:name>InputObject</maml:name>
7890
<maml:description>
@@ -95,6 +107,17 @@
95107
<dev:defaultValue>
96108
</dev:defaultValue>
97109
</command:parameter>
110+
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="">
111+
<maml:name>InitialSessionState</maml:name>
112+
<maml:description>
113+
<maml:para>The session state used by the runspaces when invoking ScriptBlock. This provides the functions, variables, drives, etc available to the ScriptBlock.
114+
115+
By default, InitialSessionState.Create2() is used and the functions and variables from the current scope is then imported.</maml:para>
116+
</maml:description>
117+
<command:parameterValue required="true" variableLength="false">InitialSessionState</command:parameterValue>
118+
<dev:defaultValue>
119+
</dev:defaultValue>
120+
</command:parameter>
98121
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named" aliases="">
99122
<maml:name>ThrottleLimit</maml:name>
100123
<maml:description>
@@ -189,6 +212,17 @@
189212
</dev:type>
190213
<dev:defaultValue/>
191214
</command:parameter>
215+
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="">
216+
<maml:name>InitialSessionState</maml:name>
217+
<maml:description>
218+
<maml:para>The session state used by the runspaces when invoking ScriptBlock. This provides the functions, variables, drives, etc available to the ScriptBlock.
219+
By default, InitialSessionState.Create2() is used and the functions and variables from the current scope is then imported.
220+
</maml:para>
221+
</maml:description>
222+
<command:parameterValue required="true" variableLength="false">InitialSessionState</command:parameterValue>
223+
<dev:defaultValue>
224+
</dev:defaultValue>
225+
</command:parameter>
192226
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="True (ByValue)" position="named" aliases="">
193227
<maml:name>InputObject</maml:name>
194228
<maml:description>

0 commit comments

Comments
 (0)