Skip to content

Commit 36226df

Browse files
author
Staffan Gustafsson
committed
Publishing v1.6
1 parent f0e2c5f commit 36226df

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

module/PSParallel.psd1

0 Bytes
Binary file not shown.

scripts/Publish-ToGallery.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $p = @{
44
LicenseUri = "https://github.com/powercode/PSParallel/blob/master/LICENSE"
55
IconUri = "https://github.com/powercode/PSParallel/blob/master/images/PSParallel_icon.png"
66
Tag = "Parallel","Runspace","Invoke","Foreach"
7-
ReleaseNote = "Capturing functions"
7+
ReleaseNote = "Adding InitialSessionState parameter. More robust function capture"
88
ProjectUri = "https://github.com/powercode/PSParallel"
99
}
1010

src/PSParallel/InvokeParallelCommand.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ public sealed class InvokeParallelCommand : PSCmdlet, IDisposable
2929
[Parameter(ParameterSetName = "Progress")]
3030
[ValidateNotNullOrEmpty]
3131
public string ProgressActivity { get; set; } = "Invoke-Parallel";
32+
33+
[Parameter]
34+
[ValidateRange(1,128)]
35+
public int ThrottleLimit { get; set; } = 32;
3236

3337
[Parameter]
3438
[ValidateNotNull]
3539
public InitialSessionState InitialSessionState { get; set; }
3640

37-
[Parameter]
38-
[ValidateRange(1,128)]
39-
public int ThrottleLimit { get; set; } = 32;
40-
4141
[Parameter(ValueFromPipeline = true, Mandatory = true)]
4242
public PSObject InputObject { get; set; }
4343

0 commit comments

Comments
 (0)