Build precise queries to find exactly what you need
Press ESC to close
Hi,
Here are some edits to be compatible with v10.0. Get-VBRJobSchedule and also GetScheduleOptions() returns data from an outdated location.
Replace — if ($status -eq “None”){ $status = (Get-VBRBackupSession -Name $job.name | sort -Descending)[1].Result } —
by — if ($status -eq “None”){ $status = (Get-VBRBackupSession -Name ($job.name.ToString()+’*’) | sort -Descending)[1].Result } —
In v10 the BackupSession’s name parameter includes the type of run (incremental / Full).
Replace — $last = $job.GetScheduleOptions() $last = $last -replace ‘.*Latest run time: [‘, ” $last = $last -replace ‘], Next run time: .*’, ” $last = $last.split(‘ ‘)[0] —
by — $last = $job.LatestRunLocal.ToString() $last.Split(‘ ‘)[0] —
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!