The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScheduledJobTrigger.RandomDelay Property


Updated: April 27, 2016

Applies To: Windows PowerShell

Gets or sets the maximum time of the random delay that can occur after the scheduled start time. Introduced in Windows PowerShell 3.0.

Namespace:   Microsoft.PowerShell.ScheduledJob
Assembly:  Microsoft.PowerShell.ScheduledJob (in Microsoft.PowerShell.ScheduledJob.dll)

public TimeSpan RandomDelay { get; set; }

Property Value

Type: System.TimeSpan

Returns TimeSpan.

The length of the delay is set pseudo-randomly for each start, and it varies from no delay to the time specified by the value of this property. The default value of zero (00:00:00) disables the random delay.

Return to top

Community Additions