Skip to content

NextReminder

Gets or sets the date and time of the next reminder to send.

1
 DateTimeOffset myWorkItem.NextReminder

Remarks

If no reminder is set in the task definition, this property gets a null value.
If set to null, the reminder is disabled.
If the WorkItem.State is not in Waiting or Created, attempting to set this property is prohibited and throws an access denied error.

Example

1
$WorkItem.NextReminder = $Calendar.AddDays(DateTimeOffset.now, 1);

See Also