Hello,
I am not sure you can do that, but you can give it a shot.
As another workaround, you can get Session info for Agent Backup Job this way :
Code: Select all
asnp VeeamPSSnapin
$jobs = Get-VBRJob | ? {$_.TypetoString -eq "Windows Agent Backup"}
ForEach ($job in $jobs) {$Session = $job.FindLastSession()
$Session.Name
$Session.CreationTime
}
Name and Time are just two simples examples.
Maybe with some tweaking to the MyVeeamReport script you could get it working that way.
As far as I know, the Agent Backup Job managed with B&R has the same behavior as any "standard" Backup job, except for some parameters obviously :/
What exactly do you want to get from this script for your Agent Backup Job ?
There may be some script already existing here to get what you want.
Cheers,
Lucas