Windows Scheduled Tasks Azure DevOps Extension
This Azure DevOps (i.e. TFS) extension provides Build and Release Pipeline tasks that allow Windows Scheduled Tasks to easily be installed, uninstalled, enabled, disabled, started, and stopped on the local or remote computer(s).
The computer that will be hosting the Windows Scheduled Task must meet the following minimum requirements:
If the Windows Scheduled Task is on a remote computer, it must also meet these requirements:
For more information, read Microsoft's documentation.
Authentication options for connecting to a remote computer
All authentication mechanisms supported by the
If you are connecting to a remote computer and want to use CredSSP, it must have CredSSP enabled on it. You can do this by running the following command from an administrator PowerShell command prompt on the remote computer:
More information about the authentication types can be found here.
Defining the Scheduled Task definition properties
When installing a Scheduled Task, you have a few different options for how to define the Scheduled Task properties.
Reasons you may want to define all of the properties
Reasons you may want to use
Reasons you may want to use an
When using XML you will still need to specify the
How to create your Scheduled Task XML definition file
If your Scheduled Task already exists in the Windows
If your Scheduled Task does not already exist, create a new Scheduled Task in the Windows
If you prefer, you can also export the Scheduled Task via the
Ratings and feedback are very much appreciated. If you have a spare moment, please leave a review.
If you encounter problems or would like to request new features, please do so on the GitHub issues page, as it facilitates discussions much better than the marketplace Q&A and Rating/Review pages.
You can also view the change log here.
Under the hood this extension uses the PowerShell ScheduledTasks cmdlets, so the functionality it can offer is limited to what those cmdlets provide.
Additional ideas to implement
Buy me some maple syrup for providing this extension open source and for free :)