I'm trying to get a report on the Active Full backup days for all of my jobs via PowerShell but can't seem to find the properties anywhere.
I've tried the commands below but they don't give this particular info:
Awesome thanks jhoughes that is exactly what I was looking for!
I saw the options property with Get-VBRJob | Get-Member but didn't realize you could keep stacking properties on top of each other like you did with .Options.BackupTargetOptions.FullBackupMonthlyScheduleOptions.DayNumberInMonth
If you install the PowerShellCookbook module from the PowerShell Gallery, you'll get an awesome tool with the 'Show-Object' cmdlet which will give you a tree view which you can navigate.
Husband, Father, Solutions Architect, Geek | @DenverVMUG, @DenverPSUG, Denver Veeam UG leader | International Speaker | Veeam Vanguard | Microsoft MVP | vExpert (PRO) | Cisco Champion | ex-Tech Field Day Delegate
One more question. Is there any way to get the job name to display with the results of $Job.Options.BackupTargetOptions.FullBackupMonthlyScheduleOptions
As an example I ran this below which gives the day of week, day number in month and day of month:
$Job = Get-VBRJob
$Job.Options.BackupTargetOptions.FullBackupMonthlyScheduleOptions
What I'm trying to get is the above information for all jobs including the name of the jobs in another column, if that makes sense.