Skip to content

[Feature Request] Ability to export scheduled tasks from Windows Task Scheduler to json. #1

@WestXu

Description

@WestXu

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions