Dela via


ForEachObjectCommand.TimeoutSeconds Property

Definition

Gets or sets a timeout time in seconds, after which the parallel running scripts will be stopped The default value is 0, indicating no timeout.

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

Property Value

Attributes

Applies to