Hi Ben,
Indeed, the .NET method you're calling there GetScheduleOptions() was deprecated internally some time ago; .NET methods are unsupported methods, so it's best not to rely on them in your code whenever possible.
Pass a CBackupJob object to Get-VBRJobScheduleOptions, this is the correct endpoint to pull such data from, you'll see the NextRun property there.
Indeed, the .NET method you're calling there GetScheduleOptions() was deprecated internally some time ago; .NET methods are unsupported methods, so it's best not to rely on them in your code whenever possible.
Pass a CBackupJob object to Get-VBRJobScheduleOptions, this is the correct endpoint to pull such data from, you'll see the NextRun property there.
Statistics: Posted by david.domask — Aug 07, 2024 8:01 am







