The command todo task set is missing some options.
We could add the following options:
Options
| Option |
Description |
--bodyContent [bodyContent] |
The body content of the task. |
--bodyContentType [bodyContentType] |
The type of the content. Possible values are text and html. |
--dueDateTime [dueDateTime] |
The date and time when the task is due. This should be defined as a valid ISO 8601 string. |
--importance [importance] |
The importance of the task. Possible values are: low, normal, high. |
--reminderDateTime [reminderDateTime] |
The date and time for a reminder alert of the task to occur. This should be defined as a valid ISO 8601 string. |
Examples
Updates a task with bodyContent and reminder and flag it as important
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --listName "My task list" --bodyContent "I should not forget this" --reminderDateTime 2023-01-01T12:00:00 --importance high
Updates a task with due date
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA==" --dueDateTime 2023-01-01T12:00:00
The command
todo task setis missing some options.We could add the following options:
Options
--bodyContent [bodyContent]--bodyContentType [bodyContentType]textandhtml.--dueDateTime [dueDateTime]--importance [importance]low,normal,high.--reminderDateTime [reminderDateTime]Examples
Updates a task with bodyContent and reminder and flag it as important
Updates a task with due date