Hi @Henrik.Grevelund,
Regrettably seems the supported cmdlet Get-VBRApplicationBackupJob doesn't have the enabled property present (or I'm blind and cannot find it), so unfortunately we go to unsupported methods to find it.
Fetch the jobs as you normally would with Get-VBRApplicationBackupJob, then use the following:
This unsupported .NET Reflection will find the job by ID and return a full CJob object, which has the IsScheduleEnabled property that can be used to see if job is set to Enabled or Disabled (True if Enabled, False if Disabled)
It's a good feature request I think, will handle registering a formal requst.
Regrettably seems the supported cmdlet Get-VBRApplicationBackupJob doesn't have the enabled property present (or I'm blind and cannot find it), so unfortunately we go to unsupported methods to find it.
Fetch the jobs as you normally would with Get-VBRApplicationBackupJob, then use the following:
Code:
[Veeam.Backup.Core.CBackupJob]::Find($job.id)
It's a good feature request I think, will handle registering a formal requst.
Statistics: Posted by david.domask — Mar 14, 2024 4:59 pm