Case in point: Job schedules
I want to copy the job schedule - specifically the hours it's allowed to run - from one job and apply to multiple others.
Though it's something I can do in the UI, it's far faster to use a command when there's more or less a copy/paste.
This KB vaguely goes into how this might be done, but it's seriously lacking in logic.
If someone knows, I'd love to understand how I can do this specific command:
- Enable jobs ALL DAY Sunday-Friday
- Enable Saturday only 00:00-18:00
I even asked an LLM to try and figure it out, and unsurprisingly it made up options that made far more sense (saving a current jobs options via $options=Get-VBRJob -Name "vbrname" | Get-VBRJobScheduleOptions | select OptionsPeriodically and then do a set-vbrjobscheduleoptions -options $options) but it straight up doesn't work that way, even though you can 'get' the data, and there's a 'set' option, you can't get/set the same things... The LLMs all thought it would make sense, but that's not how Veeam apparently coded their powershell =(
Hopefully I'm just not understanding this, and it's doable!