Great project!
Now that we have a function Setup-ScheduledTask to import tasks from json to Scheduler, it'll be great to have a reverse function to Export-ScheduledTask from Scheduler to same-format json, with all default settings omitted. Just like the official builtin one. Cause apperarently its format of xml is not compatible with this project, and it's output is way too redundant with all settings (event default) exported.
Then I can build up a git-tracked tasks configuration workflow: just Export all my current tasks to a json file for the frist time, include it in a git repo, and whenever I make a change, I can just run a script to delete all my tasks and re-Setup all over again.
Great project!
Now that we have a function
Setup-ScheduledTaskto import tasks from json to Scheduler, it'll be great to have a reverse function toExport-ScheduledTaskfrom Scheduler to same-format json, with all default settings omitted. Just like the official builtin one. Cause apperarently its format of xml is not compatible with this project, and it's output is way too redundant with all settings (event default) exported.Then I can build up a git-tracked tasks configuration workflow: just
Exportall my current tasks to a json file for the frist time, include it in a git repo, and whenever I make a change, I can just run a script to delete all my tasks and re-Setupall over again.