After receiving a couple of requests from clients to help them schedule a process on specific dates (according to holidays, special days, etc) I created a PowerShell script that can take an array of schedules and set them up on the Orchestrator via the REST API.
If you want to try it out, please change the extension of the SetupSchedules.json to .ps1 as I was not allowed to upload ps1 files.
Command to run the script:
c:>PowerShell -file SetupSchedules.ps1 -settingsFile “.\Schedules.json”
Hope this helps.
SetupSchedules.json (2.8 KB)
Schedules.json (425 Bytes)