For scripting, gets or sets the days of the week on which the task runs.
WeeklyTrigger.DaysOfWeek As short
A bitwise mask that indicates the days of the week on which the task runs.
The following table shows the mapping of the bitwise mask used by this property.
|Month||Hex value||Decimal value|
When reading or writing your own XML for a task, the days of the week are specified using the DaysOfWeek element of the Task Scheduler schema.
|Minimum supported client
||Windows Vista [desktop apps only]
|Minimum supported server
||Windows Server 2008 [desktop apps only]