Share via


ForEachObjectCommand.ThrottleLimit Property

Definition

Gets or sets the maximum number of concurrently running scriptblocks on separate threads. The default number is 5.

[System.Management.Automation.Parameter(ParameterSetName="ParallelParameterSet")]
[System.Management.Automation.ValidateRange(1, 2147483647)]
public int ThrottleLimit { get; set; }
[<System.Management.Automation.Parameter(ParameterSetName="ParallelParameterSet")>]
[<System.Management.Automation.ValidateRange(1, 2147483647)>]
member this.ThrottleLimit : int with get, set
Public Property ThrottleLimit As Integer

Property Value

Attributes

Applies to